pub struct FileSig {
pub len: u64,
pub modified: Option<SystemTime>,
}Expand description
One observed file’s cheap identity: byte length plus mtime (absent where the filesystem reports none).
Fields§
§len: u64File size in bytes.
modified: Option<SystemTime>Last-modification time, when the filesystem reports one.
Trait Implementations§
impl Copy for FileSig
impl Eq for FileSig
impl StructuralPartialEq for FileSig
Auto Trait Implementations§
impl Freeze for FileSig
impl RefUnwindSafe for FileSig
impl Send for FileSig
impl Sync for FileSig
impl Unpin for FileSig
impl UnsafeUnpin for FileSig
impl UnwindSafe for FileSig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.