pub enum ObjectType {
Blob,
Tree,
State,
Action,
Redaction,
StateVisibility,
}Variants§
Blob
Tree
State
Action
Redaction
A RedactionsBlob sidecar — the rmp-encoded record(s) declaring
that a specific blob has been redacted (and possibly purged) by
an authorized operator. Keyed on the wire by ObjectId::Hash of
the redacted blob, since Repository’s sidecar store is
indexed that way.
StateVisibility
A StateVisibilityBlob sidecar — the rmp-encoded record(s)
declaring a non-public audience tier for a specific state. Keyed
on the wire by ObjectId::ChangeId of the state, since the
per-state sidecar store is indexed that way. Like Redaction, it
is a sidecar record that lives outside the content-addressed pack
and ships via the per-object transfer path, not the pack.
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
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 moreimpl Copy for ObjectType
Source§impl Debug for ObjectType
impl Debug for ObjectType
Source§impl<'de> Deserialize<'de> for ObjectType
impl<'de> Deserialize<'de> for ObjectType
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 ObjectType
Source§impl Hash for ObjectType
impl Hash for ObjectType
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
Source§fn eq(&self, other: &ObjectType) -> bool
fn eq(&self, other: &ObjectType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectType
impl Serialize for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnsafeUnpin for ObjectType
impl UnwindSafe for ObjectType
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