pub struct Version {
pub major: u16,
pub minor: u16,
pub patch: u16,
pub commit: u32,
pub feature_set: u32,
/* private fields */
}
Fields§
§major: u16
§minor: u16
§patch: u16
§commit: u32
§feature_set: u32
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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<LegacyVersion2> for Version
impl From<LegacyVersion2> for Version
Source§fn from(version: LegacyVersion2) -> Self
fn from(version: LegacyVersion2) -> Self
Converts to this type from the input type.
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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