pub struct BinaryBuildInformationOwned {
pub binary_name: String,
pub build_timestamp: String,
pub build_version: String,
pub commit_sha: String,
pub commit_timestamp: String,
pub commit_branch: String,
pub rustc_version: String,
pub rustc_channel: String,
pub cargo_profile: String,
pub cargo_triple: String,
}Fields§
§binary_name: StringProvides the name of the binary, i.e. the content of CARGO_PKG_NAME environmental variable.
build_timestamp: StringProvides the build timestamp, for example 2021-02-23T20:14:46.558472672+00:00.
build_version: StringProvides the build version, for example 0.1.0-9-g46f83e1.
commit_sha: StringProvides the hash of the commit that was used for the build, for example 46f83e112520533338245862d366f6a02cef07d4.
commit_timestamp: StringProvides the timestamp of the commit that was used for the build, for example 2021-02-23T08:08:02-05:00.
commit_branch: StringProvides the name of the git branch that was used for the build, for example master.
rustc_version: StringProvides the rustc version that was used for the build, for example 1.52.0-nightly.
rustc_channel: StringProvides the rustc channel that was used for the build, for example nightly.
cargo_profile: StringProvides the cargo debug mode that was used for the build.
cargo_triple: StringProvides the cargo target triple that was used for the build.
Trait Implementations§
Source§impl Clone for BinaryBuildInformationOwned
impl Clone for BinaryBuildInformationOwned
Source§fn clone(&self) -> BinaryBuildInformationOwned
fn clone(&self) -> BinaryBuildInformationOwned
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BinaryBuildInformationOwned
impl Debug for BinaryBuildInformationOwned
Source§impl<'de> Deserialize<'de> for BinaryBuildInformationOwned
impl<'de> Deserialize<'de> for BinaryBuildInformationOwned
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BinaryBuildInformationOwned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BinaryBuildInformationOwned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for BinaryBuildInformationOwned
impl JsonSchema for BinaryBuildInformationOwned
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl Serialize for BinaryBuildInformationOwned
impl Serialize for BinaryBuildInformationOwned
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for BinaryBuildInformationOwned
impl StructuralPartialEq for BinaryBuildInformationOwned
Auto Trait Implementations§
impl Freeze for BinaryBuildInformationOwned
impl RefUnwindSafe for BinaryBuildInformationOwned
impl Send for BinaryBuildInformationOwned
impl Sync for BinaryBuildInformationOwned
impl Unpin for BinaryBuildInformationOwned
impl UnwindSafe for BinaryBuildInformationOwned
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.