pub struct Info {Show 13 fields
pub build_date: String,
pub compiler: String,
pub emulation_major: Option<String>,
pub emulation_minor: Option<String>,
pub git_commit: String,
pub git_tree_state: String,
pub git_version: String,
pub go_version: String,
pub major: String,
pub min_compatibility_major: Option<String>,
pub min_compatibility_minor: Option<String>,
pub minor: String,
pub platform: String,
}
Expand description
Info contains versioning information. how we’ll want to distribute that information.
Fields§
§build_date: String
§compiler: String
§emulation_major: Option<String>
EmulationMajor is the major version of the emulation version
emulation_minor: Option<String>
EmulationMinor is the minor version of the emulation version
git_commit: String
§git_tree_state: String
§git_version: String
§go_version: String
§major: String
Major is the major version of the binary version
min_compatibility_major: Option<String>
MinCompatibilityMajor is the major version of the minimum compatibility version
min_compatibility_minor: Option<String>
MinCompatibilityMinor is the minor version of the minimum compatibility version
minor: String
Minor is the minor version of the binary version
platform: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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