Struct cargo_dist_schema::SystemInfo
source · pub struct SystemInfo {
pub cargo_version_line: Option<String>,
}Expand description
Info about the system/toolchain used to build this announcement.
Note that this is info from the machine that generated this file, which ideally should be similar to the machines that built all the artifacts, but we can’t guarantee that.
dist-manifest.json is by default generated at the start of the build process, and typically on a linux machine because that’s usually the fastest/cheapest part of CI infra.
Fields§
§cargo_version_line: Option<String>The version of Cargo used (first line of cargo -vV)
Note that this is the version used on the machine that generated this file, which presumably should be the same version used on all the machines that built all the artifacts, but maybe not! It’s more likely to be correct if rust-toolchain.toml is used with a specific pinned version.
Trait Implementations§
source§impl Clone for SystemInfo
impl Clone for SystemInfo
source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a copy 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 SystemInfo
impl Debug for SystemInfo
source§impl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
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 JsonSchema for SystemInfo
impl JsonSchema for SystemInfo
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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