pub struct FolderEntry {
pub path: PathBuf,
pub name: String,
pub is_dir: bool,
pub size: u64,
pub modified: Option<SystemTime>,
}Expand description
A file, directory or link in a folder, from FolderView::entries.
Fields§
§path: PathBufThe folder’s path joined with the name.
name: StringThe name in the folder, such as beach.png.
is_dir: boolWhether it is a directory or a link to one.
size: u64Its size in bytes; for a link, its target’s.
modified: Option<SystemTime>When it was last written, if the system says.
Trait Implementations§
Source§impl Clone for FolderEntry
impl Clone for FolderEntry
Source§impl Debug for FolderEntry
impl Debug for FolderEntry
impl Eq for FolderEntry
Source§impl PartialEq for FolderEntry
impl PartialEq for FolderEntry
impl StructuralPartialEq for FolderEntry
Auto Trait Implementations§
impl Forget for FolderEntry
impl Freeze for FolderEntry
impl Move for FolderEntry
impl RefUnwindSafe for FolderEntry
impl Send for FolderEntry
impl Sync for FolderEntry
impl Unpin for FolderEntry
impl UnsafeUnpin for FolderEntry
impl UnwindSafe for FolderEntry
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