pub enum ObjectKeyDataV43 {
Object,
Keys,
Attribute(u64, AttributeKeyV32),
Child {
name: String,
},
GraveyardEntry {
object_id: u64,
},
Project {
project_id: u64,
property: ProjectPropertyV32,
},
ExtendedAttribute {
name: Vec<u8>,
},
GraveyardAttributeEntry {
object_id: u64,
attribute_id: u64,
},
EncryptedChild {
casefold_hash: u32,
name: Vec<u8>,
},
CasefoldChild {
name: CasefoldString,
},
}
Variants§
Object
A generic, untyped object. This must come first and sort before all other keys for a given object because it’s also used as a tombstone and it needs to merge with all following keys.
Keys
Encryption keys for an object.
Attribute(u64, AttributeKeyV32)
An attribute associated with an object. It has a 64-bit ID.
Child
A child of a directory.
GraveyardEntry
A graveyard entry for an entire object.
Project
Project ID info. This should only be attached to the volume’s root node. Used to address the
configured limit and the usage tracking which are ordered after the project_id
to provide
locality of the two related values.
ExtendedAttribute
An extended attribute associated with an object. It stores the name used for the extended attribute, which has a maximum size of 255 bytes enforced by fuchsia.io.
GraveyardAttributeEntry
A graveyard entry for an attribute.
EncryptedChild
A child of an encrypted directory. We store the filename in its encrypted form. casefold_hash is the hash of the casefolded human-readable name if a directory is also casefolded, otherwise 0. Legacy records may have a casefold_hash of 0 indicating “unknown”.
CasefoldChild
A child of a directory that uses the casefold feature. (i.e. case insensitive, case preserving names)
Fields
name: CasefoldString
Trait Implementations§
Source§impl Clone for ObjectKeyDataV43
impl Clone for ObjectKeyDataV43
Source§fn clone(&self) -> ObjectKeyDataV43
fn clone(&self) -> ObjectKeyDataV43
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ObjectKeyDataV43
impl Debug for ObjectKeyDataV43
Source§impl<'de> Deserialize<'de> for ObjectKeyDataV43
impl<'de> Deserialize<'de> for ObjectKeyDataV43
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>,
Source§impl From<ObjectKeyDataV40> for ObjectKeyDataV43
impl From<ObjectKeyDataV40> for ObjectKeyDataV43
Source§fn from(item: ObjectKeyDataV40) -> Self
fn from(item: ObjectKeyDataV40) -> Self
Source§impl Hash for ObjectKeyDataV43
impl Hash for ObjectKeyDataV43
Source§impl Ord for ObjectKeyDataV43
impl Ord for ObjectKeyDataV43
Source§fn cmp(&self, other: &ObjectKeyDataV43) -> Ordering
fn cmp(&self, other: &ObjectKeyDataV43) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ObjectKeyDataV43
impl PartialEq for ObjectKeyDataV43
Source§impl PartialOrd for ObjectKeyDataV43
impl PartialOrd for ObjectKeyDataV43
Source§impl Serialize for ObjectKeyDataV43
impl Serialize for ObjectKeyDataV43
Source§impl TypeFingerprint for ObjectKeyDataV43
impl TypeFingerprint for ObjectKeyDataV43
fn fingerprint() -> String
impl Eq for ObjectKeyDataV43
impl StructuralPartialEq for ObjectKeyDataV43
Auto Trait Implementations§
impl Freeze for ObjectKeyDataV43
impl RefUnwindSafe for ObjectKeyDataV43
impl Send for ObjectKeyDataV43
impl Sync for ObjectKeyDataV43
impl Unpin for ObjectKeyDataV43
impl UnwindSafe for ObjectKeyDataV43
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more