pub struct FileEntry {
pub path: PathBuf,
pub name: String,
pub is_dir: bool,
pub is_file: bool,
pub is_symlink: bool,
pub size: u64,
pub modified: Option<SystemTime>,
}Expand description
File or directory entry returned by listing.
Fields§
§path: PathBuf§name: String§is_dir: bool§is_file: bool§is_symlink: bool§size: u64§modified: Option<SystemTime>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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