pub struct CodecVersion(/* private fields */);Expand description
Version of the canonical JSON codec itself.
Implementations§
Trait Implementations§
Source§impl Clone for CodecVersion
impl Clone for CodecVersion
Source§fn clone(&self) -> CodecVersion
fn clone(&self) -> CodecVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodecVersion
Source§impl Debug for CodecVersion
impl Debug for CodecVersion
Source§impl<'de> Deserialize<'de> for CodecVersion
impl<'de> Deserialize<'de> for CodecVersion
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 CodecVersion
Source§impl Hash for CodecVersion
impl Hash for CodecVersion
Source§impl Ord for CodecVersion
impl Ord for CodecVersion
Source§fn cmp(&self, other: &CodecVersion) -> Ordering
fn cmp(&self, other: &CodecVersion) -> Ordering
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 CodecVersion
impl PartialEq for CodecVersion
Source§impl PartialOrd for CodecVersion
impl PartialOrd for CodecVersion
Source§impl Serialize for CodecVersion
impl Serialize for CodecVersion
impl StructuralPartialEq for CodecVersion
Auto Trait Implementations§
impl Freeze for CodecVersion
impl RefUnwindSafe for CodecVersion
impl Send for CodecVersion
impl Sync for CodecVersion
impl Unpin for CodecVersion
impl UnsafeUnpin for CodecVersion
impl UnwindSafe for CodecVersion
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