pub enum CheckpointOwnerSummary {
User {
name: String,
},
Fork {
target_namespace_id: NamespaceId,
},
}Expand description
Who a checkpoint record answers to, as the record durably records it.
The two owners have different releases, so a listing that names the owner also says which records the release endpoint will act on: a user pin is released by id, and a fork lease is released by deleting the target namespace it protects.
Variants§
User
An operator-created pin, released by id or by its own expiry.
Fields
Fork
A fork target keeping its source basis alive for the length of one fork attempt.
Fields
§
target_namespace_id: NamespaceIdNamespace whose continued existence keeps this pin standing.
Trait Implementations§
Source§impl Clone for CheckpointOwnerSummary
impl Clone for CheckpointOwnerSummary
Source§fn clone(&self) -> CheckpointOwnerSummary
fn clone(&self) -> CheckpointOwnerSummary
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 CheckpointOwnerSummary
impl Debug for CheckpointOwnerSummary
Source§impl<'de> Deserialize<'de> for CheckpointOwnerSummary
impl<'de> Deserialize<'de> for CheckpointOwnerSummary
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 CheckpointOwnerSummary
Source§impl PartialEq for CheckpointOwnerSummary
impl PartialEq for CheckpointOwnerSummary
Source§impl Serialize for CheckpointOwnerSummary
impl Serialize for CheckpointOwnerSummary
impl StructuralPartialEq for CheckpointOwnerSummary
Auto Trait Implementations§
impl Freeze for CheckpointOwnerSummary
impl RefUnwindSafe for CheckpointOwnerSummary
impl Send for CheckpointOwnerSummary
impl Sync for CheckpointOwnerSummary
impl Unpin for CheckpointOwnerSummary
impl UnsafeUnpin for CheckpointOwnerSummary
impl UnwindSafe for CheckpointOwnerSummary
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