Struct maelstrom_layer_fs::FileAttributes
source · pub struct FileAttributes {
pub size: u64,
pub mode: Mode,
pub mtime: UnixTimestamp,
}
Expand description
The attributes we store in attribute-table about each file.
Fields§
§size: u64
§mode: Mode
§mtime: UnixTimestamp
Trait Implementations§
source§impl Clone for FileAttributes
impl Clone for FileAttributes
source§fn clone(&self) -> FileAttributes
fn clone(&self) -> FileAttributes
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 FileAttributes
impl Debug for FileAttributes
source§impl<'de> Deserialize<'de> for FileAttributes
impl<'de> Deserialize<'de> for FileAttributes
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
Auto Trait Implementations§
impl Freeze for FileAttributes
impl RefUnwindSafe for FileAttributes
impl Send for FileAttributes
impl Sync for FileAttributes
impl Unpin for FileAttributes
impl UnwindSafe for FileAttributes
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