pub struct Entry {
pub name: String,
pub kind: Kind,
pub size: u64,
pub mtime_ms: i64,
pub mode: u32,
pub symlink: bool,
pub link_target: String,
}Fields§
§name: StringThe file name (the last part of the path); lossy if not UTF-8.
kind: Kind§size: u64§mtime_ms: i64Last modified, in milliseconds since the Unix epoch (0 if unknown).
mode: u32Unix permission bits, st_mode & 0o7777 (0 where there are none).
symlink: bool§link_target: StringWhere a symlink points, as stored in the link (empty otherwise).
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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