pub struct HostVersion(/* private fields */);Implementations§
Source§impl HostVersion
impl HostVersion
pub fn parse(value: &str) -> Result<Self, ReleaseVersionError>
pub fn series(&self) -> HostSeries
Trait Implementations§
Source§impl Clone for HostVersion
impl Clone 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: __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 Display for HostVersion
impl Display for HostVersion
impl Eq for HostVersion
Source§impl From<HostVersion> for String
impl From<HostVersion> for String
Source§fn from(version: HostVersion) -> Self
fn from(version: HostVersion) -> Self
Converts to this type from the input type.
Source§impl FromStr for HostVersion
impl FromStr 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 Forget for HostVersion
impl Freeze for HostVersion
impl Move 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