Struct fxfs::object_handle::ObjectProperties
source · pub struct ObjectProperties {
pub refs: u64,
pub allocated_size: u64,
pub data_attribute_size: u64,
pub creation_time: Timestamp,
pub modification_time: Timestamp,
pub sub_dirs: u64,
pub posix_attributes: Option<PosixAttributes>,
}
Fields§
§refs: u64
The number of references to this object.
allocated_size: u64
The number of bytes allocated to all extents across all attributes for this object.
data_attribute_size: u64
The 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: Timestamp
The timestamp at which the object was created (i.e. crtime).
modification_time: Timestamp
The timestamp at which the objects’s data was last modified (i.e. mtime).
sub_dirs: u64
The number of sub-directories.
posix_attributes: Option<PosixAttributes>
Trait Implementations§
source§impl Clone for ObjectProperties
impl Clone for ObjectProperties
source§fn clone(&self) -> ObjectProperties
fn clone(&self) -> ObjectProperties
Returns a copy 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<ObjectProperties> for ObjectProperties
impl PartialEq<ObjectProperties> for ObjectProperties
source§fn eq(&self, other: &ObjectProperties) -> bool
fn eq(&self, other: &ObjectProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectProperties
Auto Trait Implementations§
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