Enum fs_extra::dir::DirEntryAttr
[−]
[src]
pub enum DirEntryAttr { Name, Ext, FullName, Path, DosPath, FileSize, Size, IsDir, IsFile, Modified, Accessed, Created, BaseInfo, }
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 extention.
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
impl Hash for DirEntryAttr
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for DirEntryAttr
[src]
impl PartialEq for DirEntryAttr
[src]
fn eq(&self, __arg_0: &DirEntryAttr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for DirEntryAttr
[src]
fn clone(&self) -> DirEntryAttr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more