pub struct RecordVersion(/* private fields */);Expand description
A monotonically meaningful record version value.
Implementations§
Source§impl RecordVersion
impl RecordVersion
Trait Implementations§
Source§impl Clone for RecordVersion
impl Clone for RecordVersion
Source§fn clone(&self) -> RecordVersion
fn clone(&self) -> RecordVersion
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 moreSource§impl Debug for RecordVersion
impl Debug for RecordVersion
Source§impl Default for RecordVersion
impl Default for RecordVersion
Source§fn default() -> RecordVersion
fn default() -> RecordVersion
Returns the “default value” for a type. Read more
Source§impl Hash for RecordVersion
impl Hash for RecordVersion
Source§impl Ord for RecordVersion
impl Ord for RecordVersion
Source§fn cmp(&self, other: &RecordVersion) -> Ordering
fn cmp(&self, other: &RecordVersion) -> 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
Source§impl PartialEq for RecordVersion
impl PartialEq for RecordVersion
Source§fn eq(&self, other: &RecordVersion) -> bool
fn eq(&self, other: &RecordVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RecordVersion
impl PartialOrd for RecordVersion
impl Copy for RecordVersion
impl Eq for RecordVersion
impl StructuralPartialEq for RecordVersion
Auto Trait Implementations§
impl Freeze for RecordVersion
impl RefUnwindSafe for RecordVersion
impl Send for RecordVersion
impl Sync for RecordVersion
impl Unpin for RecordVersion
impl UnsafeUnpin for RecordVersion
impl UnwindSafe for RecordVersion
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