pub struct BuildInfo {
pub product_config: Option<String>,
pub board_config: Option<String>,
pub version: Option<String>,
pub latest_commit_date: Option<String>,
pub platform_version: Option<String>,
pub product_version: Option<String>,
/* private fields */
}Fields§
§product_config: Option<String>A description of the product configuration used at build time, determined by the value passed as PRODUCT in ‘fx set’. See ‘fx list-products’ for a list of possible values.
board_config: Option<String>A description of the board configuration used at build time, determined by
the value passed as BOARD in ‘fx set’. See fx list-boards for a list of
possible values.
version: Option<String>A description of the version of the build. Defaults to the same string as latest_commit_date.
latest_commit_date: Option<String>The timestamp of the most recent commit to the integration repository (specifically, the “CommitDate” field) formatted in strict ISO 8601 format in the UTC timezone. Example: “2019-03-28T15:42:20+00:00”
platform_version: Option<String>The version of the Fuchsia platform included in the build. Provided by Assembly from platform artifacts.
product_version: Option<String>The product version of this build.
Provided in Assembly product configuration.
Defaults to the same value as version.
Trait Implementations§
Source§impl<D> Decode<BuildInfo, D> for BuildInfowhere
D: ResourceDialect,
impl<D> Decode<BuildInfo, D> for BuildInfowhere
D: ResourceDialect,
Source§impl TypeMarker for BuildInfo
impl TypeMarker for BuildInfo
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for BuildInfo
impl ValueTypeMarker for BuildInfo
Source§type Borrowed<'a> = &'a BuildInfo
type Borrowed<'a> = &'a BuildInfo
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<BuildInfo as TypeMarker>::Owned,
) -> <BuildInfo as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<BuildInfo as TypeMarker>::Owned, ) -> <BuildInfo as ValueTypeMarker>::Borrowed<'_>
&Self::Owned to Self::Borrowed.