pub struct Entry {
pub path: PathBuf,
pub relative_path: PathBuf,
pub size: u64,
pub modified: Option<SystemTime>,
}Fields§
§path: PathBuf§relative_path: PathBuf§size: u64§modified: Option<SystemTime>None when the platform/filesystem doesn’t report mtimes.
Populated by scan.rs; only consumed by sync’s
DiffStrategy::SizeAndModifiedTime, but kept here rather than in
a sync-specific type since the Profiler already fetches it for
every entry as part of the same metadata() call that gets size.
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