pub struct SnapshotId(/* private fields */);Expand description
Id of a snapshot.
A snapshot is backed by a checkpoint record and uses that record’s
id, pin_{manifest_no:020}-{16 lowercase hex}.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SnapshotId
impl AsRef<str> for SnapshotId
Source§impl Borrow<str> for SnapshotId
impl Borrow<str> for SnapshotId
Source§impl Clone for SnapshotId
impl Clone for SnapshotId
Source§impl Debug for SnapshotId
impl Debug for SnapshotId
Source§impl<'de> Deserialize<'de> for SnapshotId
impl<'de> Deserialize<'de> for SnapshotId
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 SnapshotId
impl Display for SnapshotId
impl Eq for SnapshotId
Source§impl From<CheckpointId> for SnapshotId
impl From<CheckpointId> for SnapshotId
Source§fn from(checkpoint_id: CheckpointId) -> Self
fn from(checkpoint_id: CheckpointId) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotId> for CheckpointId
impl From<SnapshotId> for CheckpointId
Source§fn from(snapshot_id: SnapshotId) -> Self
fn from(snapshot_id: SnapshotId) -> Self
Converts to this type from the input type.
Source§impl FromStr for SnapshotId
impl FromStr for SnapshotId
Source§impl Hash for SnapshotId
impl Hash for SnapshotId
Source§impl Ord for SnapshotId
impl Ord for SnapshotId
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 SnapshotId
impl PartialEq for SnapshotId
Source§impl PartialOrd for SnapshotId
impl PartialOrd for SnapshotId
Source§impl Serialize for SnapshotId
impl Serialize for SnapshotId
impl StructuralPartialEq for SnapshotId
Source§impl TryFrom<&str> for SnapshotId
impl TryFrom<&str> for SnapshotId
Auto Trait Implementations§
impl Freeze for SnapshotId
impl RefUnwindSafe for SnapshotId
impl Send for SnapshotId
impl Sync for SnapshotId
impl Unpin for SnapshotId
impl UnsafeUnpin for SnapshotId
impl UnwindSafe for SnapshotId
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