pub struct SchemaVersionV2 {
pub version: u16,
pub major: u16,
pub minor: u16,
}Expand description
Independent major and minor version for one schema family.
Fields§
§version: u16§major: u16§minor: u16Trait Implementations§
Source§impl Clone for SchemaVersionV2
impl Clone for SchemaVersionV2
Source§fn clone(&self) -> SchemaVersionV2
fn clone(&self) -> SchemaVersionV2
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 SchemaVersionV2
Source§impl Debug for SchemaVersionV2
impl Debug for SchemaVersionV2
Source§impl<'de> Deserialize<'de> for SchemaVersionV2
impl<'de> Deserialize<'de> for SchemaVersionV2
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 SchemaVersionV2
Source§impl PartialEq for SchemaVersionV2
impl PartialEq for SchemaVersionV2
Source§impl Serialize for SchemaVersionV2
impl Serialize for SchemaVersionV2
impl StructuralPartialEq for SchemaVersionV2
Auto Trait Implementations§
impl Freeze for SchemaVersionV2
impl RefUnwindSafe for SchemaVersionV2
impl Send for SchemaVersionV2
impl Sync for SchemaVersionV2
impl Unpin for SchemaVersionV2
impl UnsafeUnpin for SchemaVersionV2
impl UnwindSafe for SchemaVersionV2
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