pub struct FileStat {
pub len: u64,
pub modified: Option<SystemTime>,
}Expand description
A file’s size and last-modified time.
Fields§
§len: u64Length in bytes.
modified: Option<SystemTime>Last-modified time, if the platform reports it (the edit-freshness token).
Trait Implementations§
impl Eq for FileStat
impl StructuralPartialEq for FileStat
Auto Trait Implementations§
impl Freeze for FileStat
impl RefUnwindSafe for FileStat
impl Send for FileStat
impl Sync for FileStat
impl Unpin for FileStat
impl UnsafeUnpin for FileStat
impl UnwindSafe for FileStat
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