Struct fidl_fuchsia_buildinfo::BuildInfo
source · pub struct BuildInfo {
pub product_config: Option<String>,
pub board_config: Option<String>,
pub version: Option<String>,
pub latest_commit_date: 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”
Trait Implementations§
source§impl Decode<BuildInfo> for BuildInfo
impl Decode<BuildInfo> for BuildInfo
source§impl PartialEq for BuildInfo
impl PartialEq for BuildInfo
source§impl TypeMarker for BuildInfo
impl TypeMarker for BuildInfo
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
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 more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
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
impl Persistable for BuildInfo
impl StructuralPartialEq for BuildInfo
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnwindSafe for BuildInfo
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more