pub struct Metadata {
pub mtime: OffsetDateTime,
pub atime: OffsetDateTime,
pub ctime: OffsetDateTime,
pub len: u64,
}
Expand description
File metadata. See stat
.
Fields§
§mtime: OffsetDateTime
Date of last modification
atime: OffsetDateTime
Date of last access. May not be accurate due to file system optimization
ctime: OffsetDateTime
Date of creation
len: u64
Length in bytes of file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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