pub struct PathStats {
pub size: u64,
pub is_dir: bool,
pub permissions: Permissions,
pub modified: Option<SystemTime>,
pub accessed: Option<SystemTime>,
pub created: Option<SystemTime>,
}Expand description
Unix path statistics structure
Fields§
§size: u64File size in bytes
is_dir: boolWhether the path is a directory
permissions: PermissionsFile permissions
modified: Option<SystemTime>Last modification time
accessed: Option<SystemTime>Last access time
created: Option<SystemTime>Creation time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathStats
impl RefUnwindSafe for PathStats
impl Send for PathStats
impl Sync for PathStats
impl Unpin for PathStats
impl UnwindSafe for PathStats
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