Struct vfs::path::VfsMetadata
source · pub struct VfsMetadata {
pub file_type: VfsFileType,
pub len: u64,
pub created: Option<SystemTime>,
pub modified: Option<SystemTime>,
pub accessed: Option<SystemTime>,
}
Expand description
File metadata information
Fields§
§file_type: VfsFileType
The type of file
len: u64
Length of the file in bytes, 0 for directories
created: Option<SystemTime>
Creation time of the file, if supported by the vfs implementation
modified: Option<SystemTime>
Modification time of the file, if supported by the vfs implementation
accessed: Option<SystemTime>
Access time of the file, if supported by the vfs implementation
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VfsMetadata
impl Send for VfsMetadata
impl Sync for VfsMetadata
impl Unpin for VfsMetadata
impl UnwindSafe for VfsMetadata
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