pub struct CheckpointRecordState {
pub namespace_id: NamespaceId,
pub pin_id: CheckpointId,
pub manifest_no: ManifestNo,
pub manifest_head_seq: ChangeSeq,
pub manifest_payload_checksum: String,
pub head_commit_id: CommitId,
pub created_at_ms: u64,
pub owner: CheckpointOwner,
}Expand description
A pin stored under pins/; see format specification section 8.
Fields§
§namespace_id: NamespaceIdNamespace containing the pinned manifest.
pin_id: CheckpointIdPositions this record at its manifest number.
manifest_no: ManifestNoMust equal the number in pin_id.
manifest_head_seq: ChangeSeqGreatest sequence in the pinned manifest.
manifest_payload_checksum: StringVerifies the referenced manifest payload.
head_commit_id: CommitIdCommit at the pinned manifest head.
created_at_ms: u64Creation time used by collection grace.
owner: CheckpointOwnerDetermines when collection may delete this record.
Implementations§
Source§impl CheckpointRecordState
impl CheckpointRecordState
Sourcepub fn manifest(&self) -> ManifestRef
pub fn manifest(&self) -> ManifestRef
Builds the reference for reads through this pin.
Trait Implementations§
Source§impl Clone for CheckpointRecordState
impl Clone for CheckpointRecordState
Source§impl Debug for CheckpointRecordState
impl Debug for CheckpointRecordState
Source§impl<'de> Deserialize<'de> for CheckpointRecordState
impl<'de> Deserialize<'de> for CheckpointRecordState
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 CheckpointRecordState
Source§impl PartialEq for CheckpointRecordState
impl PartialEq for CheckpointRecordState
Source§impl Serialize for CheckpointRecordState
impl Serialize for CheckpointRecordState
impl StructuralPartialEq for CheckpointRecordState
Auto Trait Implementations§
impl Freeze for CheckpointRecordState
impl RefUnwindSafe for CheckpointRecordState
impl Send for CheckpointRecordState
impl Sync for CheckpointRecordState
impl Unpin for CheckpointRecordState
impl UnsafeUnpin for CheckpointRecordState
impl UnwindSafe for CheckpointRecordState
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