pub struct ProjectionSchemaVersion(/* private fields */);Expand description
Application projection schema understood by the snapshot payload codec.
Implementations§
Source§impl ProjectionSchemaVersion
impl ProjectionSchemaVersion
Sourcepub const fn new(value: u64) -> Result<Self, BootstrapError>
pub const fn new(value: u64) -> Result<Self, BootstrapError>
Trait Implementations§
Source§impl Clone for ProjectionSchemaVersion
impl Clone for ProjectionSchemaVersion
Source§fn clone(&self) -> ProjectionSchemaVersion
fn clone(&self) -> ProjectionSchemaVersion
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 ProjectionSchemaVersion
Source§impl Debug for ProjectionSchemaVersion
impl Debug for ProjectionSchemaVersion
Source§impl<'de> Deserialize<'de> for ProjectionSchemaVersion
impl<'de> Deserialize<'de> for ProjectionSchemaVersion
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 ProjectionSchemaVersion
Source§impl Hash for ProjectionSchemaVersion
impl Hash for ProjectionSchemaVersion
Source§impl Ord for ProjectionSchemaVersion
impl Ord for ProjectionSchemaVersion
Source§fn cmp(&self, other: &ProjectionSchemaVersion) -> Ordering
fn cmp(&self, other: &ProjectionSchemaVersion) -> 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 ProjectionSchemaVersion
impl PartialEq for ProjectionSchemaVersion
Source§impl PartialOrd for ProjectionSchemaVersion
impl PartialOrd for ProjectionSchemaVersion
Source§impl Serialize for ProjectionSchemaVersion
impl Serialize for ProjectionSchemaVersion
impl StructuralPartialEq for ProjectionSchemaVersion
Auto Trait Implementations§
impl Freeze for ProjectionSchemaVersion
impl RefUnwindSafe for ProjectionSchemaVersion
impl Send for ProjectionSchemaVersion
impl Sync for ProjectionSchemaVersion
impl Unpin for ProjectionSchemaVersion
impl UnsafeUnpin for ProjectionSchemaVersion
impl UnwindSafe for ProjectionSchemaVersion
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