pub struct BuildInfo {
pub version: String,
pub commit: String,
pub commit_date: String,
pub build_date: String,
pub target: String,
pub profile: String,
pub features: String,
pub rustc: String,
}Expand description
Identity of the running rite binary. A property of the artifact, set at
compile time; the strongly verifiable end of the trust boundary (checkable
against a release tag and build provenance).
Fields§
§version: StringCrate version (CARGO_PKG_VERSION).
commit: StringGit commit the binary was built from, or "unknown".
commit_date: StringCommit date, or "unknown".
build_date: StringDate the binary was built.
target: StringTarget triple.
profile: StringBuild profile (debug / release).
features: StringEnabled cargo features, comma-separated.
rustc: StringCompiler version string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildInfo
impl<'de> Deserialize<'de> for BuildInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnsafeUnpin for BuildInfo
impl UnwindSafe for BuildInfo
Blanket Implementations§
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