pub struct HostVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A host release version, major.minor.patch.
Fields§
§major: u32§minor: u32§patch: u32Implementations§
Trait Implementations§
Source§impl Clone for HostVersion
impl Clone for HostVersion
impl Copy for HostVersion
Source§impl Debug for HostVersion
impl Debug for HostVersion
Source§impl<'de> Deserialize<'de> for HostVersion
impl<'de> Deserialize<'de> for HostVersion
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for HostVersion
impl Display for HostVersion
impl Eq for HostVersion
Source§impl Hash for HostVersion
impl Hash for HostVersion
Source§impl Ord for HostVersion
impl Ord for HostVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HostVersion
impl PartialEq for HostVersion
Source§impl PartialOrd for HostVersion
impl PartialOrd for HostVersion
Source§impl Serialize for HostVersion
impl Serialize for HostVersion
impl StructuralPartialEq for HostVersion
Auto Trait Implementations§
impl Freeze for HostVersion
impl RefUnwindSafe for HostVersion
impl Send for HostVersion
impl Sync for HostVersion
impl Unpin for HostVersion
impl UnsafeUnpin for HostVersion
impl UnwindSafe for HostVersion
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