pub struct MetaData {
pub is_dir: bool,
pub is_file: bool,
pub is_symlink: bool,
pub size: u64,
pub created: Option<SystemTime>,
pub modified: Option<SystemTime>,
pub accessed: Option<SystemTime>,
pub permissions: Option<Permissions>,
}
Fields§
§is_dir: bool
True if DirEntry is a directory
is_file: bool
§is_symlink: bool
§size: u64
§created: Option<SystemTime>
§modified: Option<SystemTime>
§accessed: Option<SystemTime>
§permissions: Option<Permissions>
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