pub struct FileMeta {
pub is_dir: bool,
pub is_symlink: bool,
pub size: Option<u64>,
pub modified: Option<SystemTime>,
}Expand description
Rich metadata attached to a filesystem entry.
Fields§
§is_dir: boolWhether this entry is a directory.
is_symlink: boolWhether this entry is a symbolic link.
size: Option<u64>File size in bytes (files only).
modified: Option<SystemTime>Last modified timestamp.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileMeta
impl RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl UnsafeUnpin for FileMeta
impl UnwindSafe for FileMeta
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