pub struct ObjectProperties {
pub refs: u64,
pub allocated_size: u64,
pub data_attribute_size: u64,
pub creation_time: Timestamp,
pub modification_time: Timestamp,
pub access_time: Timestamp,
pub change_time: Timestamp,
pub sub_dirs: u64,
pub posix_attributes: Option<PosixAttributes>,
pub casefold: bool,
pub wrapping_key_id: Option<WrappingKeyId>,
}Fields§
§refs: u64The number of references to this object.
allocated_size: u64The number of bytes allocated to all extents across all attributes for this object.
data_attribute_size: u64The logical content size for the default data attribute of this object, i.e. the size of a file. (Objects with no data attribute have size 0.)
creation_time: TimestampThe timestamp at which the object was created (i.e. crtime).
modification_time: TimestampThe timestamp at which the objects’s data was last modified (i.e. mtime).
access_time: TimestampThe timestamp at which the object was last read (i.e. atime).
change_time: TimestampThe timestamp at which the object’s status was last modified (i.e. ctime).
sub_dirs: u64The number of sub-directories.
posix_attributes: Option<PosixAttributes>The POSIX attributes: mode, uid, gid, rdev
casefold: boolTrue if this is a directory that has casefolding enabled.
wrapping_key_id: Option<WrappingKeyId>Trait Implementations§
Source§impl Clone for ObjectProperties
impl Clone for ObjectProperties
Source§fn clone(&self) -> ObjectProperties
fn clone(&self) -> ObjectProperties
Returns a duplicate of the value. Read more
1.0.0 · 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 ObjectProperties
impl Debug for ObjectProperties
Source§impl PartialEq for ObjectProperties
impl PartialEq for ObjectProperties
impl StructuralPartialEq for ObjectProperties
Auto Trait Implementations§
impl Freeze for ObjectProperties
impl RefUnwindSafe for ObjectProperties
impl Send for ObjectProperties
impl Sync for ObjectProperties
impl Unpin for ObjectProperties
impl UnwindSafe for ObjectProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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