pub struct InterfaceVersion;Expand description
Marker for the sole supported interface version (CURRENT_INTERFACE_VERSION).
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceVersion
impl Clone for InterfaceVersion
impl Copy for InterfaceVersion
Source§impl Debug for InterfaceVersion
impl Debug for InterfaceVersion
Source§impl Default for InterfaceVersion
impl Default for InterfaceVersion
Source§impl<'de> Deserialize<'de> for InterfaceVersion
impl<'de> Deserialize<'de> for InterfaceVersion
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 Eq for InterfaceVersion
Source§impl Hash for InterfaceVersion
impl Hash for InterfaceVersion
Source§impl Ord for InterfaceVersion
impl Ord for InterfaceVersion
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 InterfaceVersion
impl PartialEq for InterfaceVersion
Source§impl PartialOrd for InterfaceVersion
impl PartialOrd for InterfaceVersion
Source§impl Serialize for InterfaceVersion
impl Serialize for InterfaceVersion
impl StructuralPartialEq for InterfaceVersion
Source§impl TryFrom<&str> for InterfaceVersion
impl TryFrom<&str> for InterfaceVersion
Auto Trait Implementations§
impl Freeze for InterfaceVersion
impl RefUnwindSafe for InterfaceVersion
impl Send for InterfaceVersion
impl Sync for InterfaceVersion
impl Unpin for InterfaceVersion
impl UnsafeUnpin for InterfaceVersion
impl UnwindSafe for InterfaceVersion
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