pub struct FileEntry {Show 20 fields
pub name: String,
pub path: PathBuf,
pub ino: u64,
pub nlink: u64,
pub mode: u32,
pub uid: u32,
pub gid: u32,
pub size: u64,
pub blocks: u64,
pub mtime: i64,
pub mtime_nsec: i64,
pub atime: i64,
pub atime_nsec: i64,
pub ctime: i64,
pub ctime_nsec: i64,
pub rdev_major: u32,
pub rdev_minor: u32,
pub is_dir: bool,
pub link_target: Option<String>,
pub link_target_ok: bool,
}Expand description
One entry to display.
Fields§
§name: String§path: PathBuf§ino: u64§nlink: u64§mode: u32§uid: u32§gid: u32§size: u64§blocks: u64§mtime: i64§mtime_nsec: i64§atime: i64§atime_nsec: i64§ctime: i64§ctime_nsec: i64§rdev_major: u32§rdev_minor: u32§is_dir: bool§link_target: Option<String>§link_target_ok: boolImplementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more