pub struct Info {
pub build_date: String,
pub compiler: String,
pub git_commit: String,
pub git_tree_state: String,
pub git_version: String,
pub go_version: String,
pub major: 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
§git_commit: String
§git_tree_state: String
§git_version: String
§go_version: String
§major: String
§minor: String
§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