pub struct CheckpointGeneration(/* private fields */);Expand description
Immutable checkpoint generation identifier.
§Performance
Copying, comparing, ordering, and hashing are O(1).
Implementations§
Trait Implementations§
Source§impl Clone for CheckpointGeneration
impl Clone for CheckpointGeneration
Source§fn clone(&self) -> CheckpointGeneration
fn clone(&self) -> CheckpointGeneration
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 CheckpointGeneration
impl Debug for CheckpointGeneration
Source§impl<'de> Deserialize<'de> for CheckpointGeneration
impl<'de> Deserialize<'de> for CheckpointGeneration
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
Source§impl Display for CheckpointGeneration
impl Display for CheckpointGeneration
Source§impl Hash for CheckpointGeneration
impl Hash for CheckpointGeneration
Source§impl Ord for CheckpointGeneration
impl Ord for CheckpointGeneration
Source§fn cmp(&self, other: &CheckpointGeneration) -> Ordering
fn cmp(&self, other: &CheckpointGeneration) -> 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 CheckpointGeneration
impl PartialEq for CheckpointGeneration
Source§fn eq(&self, other: &CheckpointGeneration) -> bool
fn eq(&self, other: &CheckpointGeneration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CheckpointGeneration
impl PartialOrd for CheckpointGeneration
Source§impl Serialize for CheckpointGeneration
impl Serialize for CheckpointGeneration
impl Copy for CheckpointGeneration
impl Eq for CheckpointGeneration
impl StructuralPartialEq for CheckpointGeneration
Auto Trait Implementations§
impl Freeze for CheckpointGeneration
impl RefUnwindSafe for CheckpointGeneration
impl Send for CheckpointGeneration
impl Sync for CheckpointGeneration
impl Unpin for CheckpointGeneration
impl UnsafeUnpin for CheckpointGeneration
impl UnwindSafe for CheckpointGeneration
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