pub enum ObjectValueV41 {
None,
Some,
Object {
kind: ObjectKindV41,
attributes: ObjectAttributesV32,
},
Keys(EncryptionKeysV40),
Attribute {
size: u64,
has_overwrite_extents: bool,
},
Extent(ExtentValueV38),
Child(ChildValueV32),
Trim,
BytesAndNodes {
bytes: i64,
nodes: i64,
},
ExtendedAttribute(ExtendedAttributeValueV32),
VerifiedAttribute {
size: u64,
fsverity_metadata: FsverityMetadataV33,
},
}Variants§
None
Some
Object
Keys(EncryptionKeysV40)
Attribute
Extent(ExtentValueV38)
Child(ChildValueV32)
Trim
BytesAndNodes
ExtendedAttribute(ExtendedAttributeValueV32)
VerifiedAttribute
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObjectValueV41
impl<'de> Deserialize<'de> for ObjectValueV41
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
Source§impl From<ObjectValueV40> for ObjectValueV41
impl From<ObjectValueV40> for ObjectValueV41
Source§fn from(value: ObjectValueV40) -> Self
fn from(value: ObjectValueV40) -> Self
Converts to this type from the input type.
Source§impl From<ObjectValueV41> for ObjectValueV46
impl From<ObjectValueV41> for ObjectValueV46
Source§fn from(from: ObjectValueV41) -> Self
fn from(from: ObjectValueV41) -> Self
Converts to this type from the input type.
Source§impl From<ObjectValueV41> for ObjectValueV50
impl From<ObjectValueV41> for ObjectValueV50
Source§fn from(item: ObjectValueV41) -> Self
fn from(item: ObjectValueV41) -> Self
Converts to this type from the input type.
Source§impl Serialize for ObjectValueV41
impl Serialize for ObjectValueV41
Source§impl TypeFingerprint for ObjectValueV41
impl TypeFingerprint for ObjectValueV41
fn fingerprint() -> String
Source§impl Versioned for ObjectValueV41
impl Versioned for ObjectValueV41
Source§fn max_serialized_size() -> Option<u64>
fn max_serialized_size() -> Option<u64>
Maximum size of a serialized version of this type. Serialization and deserialization will
fail if the limit is exceeded. If None, there is no limit. None is preferred over u64::MAX
because serializing and deserializing with a limit has runtime overhead.
fn deserialize_from<R>(reader: &mut R, _version: Version) -> Result<Self>
fn serialize_into<W>(&self, writer: &mut W) -> Result<()>
Auto Trait Implementations§
impl Freeze for ObjectValueV41
impl RefUnwindSafe for ObjectValueV41
impl Send for ObjectValueV41
impl Sync for ObjectValueV41
impl Unpin for ObjectValueV41
impl UnwindSafe for ObjectValueV41
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§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>
Converts
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>
Converts
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