pub struct BuildReport {
pub version: String,
pub target: String,
pub profile: String,
pub commit: String,
pub distribution_target: Option<String>,
}Expand description
What this executable is: enough to tell two builds apart without asking a repository.
Fields§
§version: StringThe version of the crate this executable was built from.
target: StringThe Rust target triple it was built for; the model names a target by the same string.
profile: StringThe cargo profile.
commit: StringThe commit, or unknown when it was built outside a work tree.
distribution_target: Option<String>The target of the model this build matches, when the model declares one for the triple.
Trait Implementations§
Source§impl Clone for BuildReport
impl Clone for BuildReport
Source§fn clone(&self) -> BuildReport
fn clone(&self) -> BuildReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuildReport
impl Debug for BuildReport
Source§impl JsonSchema for BuildReport
impl JsonSchema for BuildReport
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for BuildReport
impl RefUnwindSafe for BuildReport
impl Send for BuildReport
impl Sync for BuildReport
impl Unpin for BuildReport
impl UnsafeUnpin for BuildReport
impl UnwindSafe for BuildReport
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