pub struct FileMetadata {
pub size: u64,
pub mode: u32,
pub mtime_ms: f64,
pub atime_ms: f64,
pub birthtime_ms: f64,
pub file: bool,
pub directory: bool,
pub symlink: bool,
}Expand description
Metadata represented by the standard Stats interface.
Fields§
§size: u64Size in bytes.
mode: u32Type and permission bits.
mtime_ms: f64Last modification, milliseconds since the epoch.
atime_ms: f64Last access, milliseconds since the epoch.
birthtime_ms: f64Creation, milliseconds since the epoch.
file: boolRegular file.
directory: boolDirectory.
symlink: boolSymbolic link.
Auto Trait Implementations§
impl Freeze for FileMetadata
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnsafeUnpin for FileMetadata
impl UnwindSafe for FileMetadata
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