pub struct Checkpoint {
pub namespace_id: NamespaceId,
pub checkpoint_id: CheckpointId,
pub owner: CheckpointOwnerSummary,
pub created_at_ms: u64,
pub expires_at_ms: Option<u64>,
pub checkpoint_seq: ChangeSeq,
pub manifest_no: ManifestNo,
}Expand description
One checkpoint resource, reported from what its durable record carries.
Fields§
§namespace_id: NamespaceIdNamespace that owns the checkpoint.
checkpoint_id: CheckpointIdDurable checkpoint id used to address the checkpoint for release.
owner: CheckpointOwnerSummaryWho owns the checkpoint, including the label carried by a user pin.
created_at_ms: u64Time the checkpoint record was created, in Unix milliseconds.
expires_at_ms: Option<u64>When garbage collection may release the record without being asked, in Unix milliseconds. Absent means the pin holds until it is released. An instant already in the past is a record whose expiry has passed and which no collection pass has reached yet: it is still a root, so it is still listed.
checkpoint_seq: ChangeSeqSequence covered by the checkpoint’s pinned basis.
manifest_no: ManifestNoManifest pinned by the checkpoint.
Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
Source§fn clone(&self) -> Checkpoint
fn clone(&self) -> Checkpoint
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 Checkpoint
impl Debug for Checkpoint
Source§impl<'de> Deserialize<'de> for Checkpoint
impl<'de> Deserialize<'de> for Checkpoint
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 Checkpoint
Source§impl PartialEq for Checkpoint
impl PartialEq for Checkpoint
Source§impl Serialize for Checkpoint
impl Serialize for Checkpoint
impl StructuralPartialEq for Checkpoint
Auto Trait Implementations§
impl Freeze for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpoint
impl UnwindSafe for Checkpoint
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