pub struct BuildInformation {
pub build_cpu: String,
pub build_os: String,
pub build_timestamp: String,
pub cargo_debug: String,
pub cargo_dependencies: String,
pub cargo_features: String,
pub cargo_opt_level: String,
pub cargo_target_triple: String,
pub rustc_version: String,
}
Expand description
Information about the build of the platform.
JSON schema
{
"description": "Information about the build of the platform.",
"type": "object",
"required": [
"build_cpu",
"build_os",
"build_timestamp",
"cargo_debug",
"cargo_dependencies",
"cargo_features",
"cargo_opt_level",
"cargo_target_triple",
"rustc_version"
],
"properties": {
"build_cpu": {
"description": "CPU of build machine.",
"type": "string"
},
"build_os": {
"description": "OS of build machine.",
"type": "string"
},
"build_timestamp": {
"description": "Timestamp of the build.",
"type": "string"
},
"cargo_debug": {
"description": "Whether the build is optimized for performance.",
"type": "string"
},
"cargo_dependencies": {
"description": "Dependencies used during the build.",
"type": "string"
},
"cargo_features": {
"description": "Features enabled during the build.",
"type": "string"
},
"cargo_opt_level": {
"description": "Optimization level of the build.",
"type": "string"
},
"cargo_target_triple": {
"description": "Target triple of the build.",
"type": "string"
},
"rustc_version": {
"description": "Rust version of the build used.",
"type": "string"
}
}
}
Fields§
§build_cpu: String
CPU of build machine.
build_os: String
OS of build machine.
build_timestamp: String
Timestamp of the build.
cargo_debug: String
Whether the build is optimized for performance.
cargo_dependencies: String
Dependencies used during the build.
cargo_features: String
Features enabled during the build.
cargo_opt_level: String
Optimization level of the build.
cargo_target_triple: String
Target triple of the build.
rustc_version: String
Rust version of the build used.
Implementations§
Source§impl BuildInformation
impl BuildInformation
pub fn builder() -> BuildInformation
Trait Implementations§
Source§impl Clone for BuildInformation
impl Clone for BuildInformation
Source§fn clone(&self) -> BuildInformation
fn clone(&self) -> BuildInformation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BuildInformation
impl Debug for BuildInformation
Source§impl<'de> Deserialize<'de> for BuildInformation
impl<'de> Deserialize<'de> for BuildInformation
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
Source§impl From<&BuildInformation> for BuildInformation
impl From<&BuildInformation> for BuildInformation
Source§fn from(value: &BuildInformation) -> Self
fn from(value: &BuildInformation) -> Self
Converts to this type from the input type.
Source§impl From<BuildInformation> for BuildInformation
impl From<BuildInformation> for BuildInformation
Source§fn from(value: BuildInformation) -> Self
fn from(value: BuildInformation) -> Self
Converts to this type from the input type.
Source§impl Serialize for BuildInformation
impl Serialize for BuildInformation
Source§impl TryFrom<BuildInformation> for BuildInformation
impl TryFrom<BuildInformation> for BuildInformation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BuildInformation) -> Result<Self, ConversionError>
fn try_from(value: BuildInformation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BuildInformation
impl RefUnwindSafe for BuildInformation
impl Send for BuildInformation
impl Sync for BuildInformation
impl Unpin for BuildInformation
impl UnwindSafe for BuildInformation
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