pub struct ScannedFile {
pub relative_path: String,
pub absolute_path: PathBuf,
pub size: u64,
pub mtime_secs: i64,
pub mtime_nanos: i64,
pub device: Option<u64>,
pub inode: Option<u64>,
pub mode: u32,
pub is_symlink: bool,
}Fields§
§relative_path: String§absolute_path: PathBuf§size: u64§mtime_secs: i64§mtime_nanos: i64§device: Option<u64>§inode: Option<u64>§mode: u32§is_symlink: boolTrait Implementations§
Source§impl Clone for ScannedFile
impl Clone for ScannedFile
Source§fn clone(&self) -> ScannedFile
fn clone(&self) -> ScannedFile
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ScannedFile
impl RefUnwindSafe for ScannedFile
impl Send for ScannedFile
impl Sync for ScannedFile
impl Unpin for ScannedFile
impl UnsafeUnpin for ScannedFile
impl UnwindSafe for ScannedFile
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