pub enum DirEntryAttr {
Show 13 variants
Name,
Ext,
FullName,
Path,
DosPath,
FileSize,
Size,
IsDir,
IsFile,
Modified,
Accessed,
Created,
BaseInfo,
}
Expand description
Available attributes for get information about directory entry.
Variants§
Name
Folder name or file name without extension.
Ext
File extension.
FullName
Folder name or file name with extension.
Path
Path to file or directory.
DosPath
Dos path to file or directory.
FileSize
File size in bytes.
Size
Size file or directory in bytes.
Attention!
: This operation very expensive and sometimes required additional rights.
IsDir
Return whether entry is directory or not.
IsFile
Return whether entry is file or not.
Modified
Last modification time for directory entry.
Accessed
Last access time for directory entry.
Created
Created time for directory entry.
Attention!
: Not supported UNIX platform.
BaseInfo
Return or not return base information target folder.
Trait Implementations§
Source§impl Clone for DirEntryAttr
impl Clone for DirEntryAttr
Source§fn clone(&self) -> DirEntryAttr
fn clone(&self) -> DirEntryAttr
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Hash for DirEntryAttr
impl Hash for DirEntryAttr
Source§impl PartialEq for DirEntryAttr
impl PartialEq for DirEntryAttr
impl Eq for DirEntryAttr
impl StructuralPartialEq for DirEntryAttr
Auto Trait Implementations§
impl Freeze for DirEntryAttr
impl RefUnwindSafe for DirEntryAttr
impl Send for DirEntryAttr
impl Sync for DirEntryAttr
impl Unpin for DirEntryAttr
impl UnwindSafe for DirEntryAttr
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