struct DigestRecord {
size: u64,
mtime_ns: u64,
sha256: String,
}Expand description
What one file’s last verification saw.
Fields§
§size: u64§mtime_ns: u64Modification time in nanoseconds since the epoch. Size and mtime are the whole key, so they are stored together and compared together.
sha256: StringTrait Implementations§
Source§impl Clone for DigestRecord
impl Clone for DigestRecord
Source§impl<'de> Deserialize<'de> for DigestRecord
impl<'de> Deserialize<'de> for DigestRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DigestRecord
impl RefUnwindSafe for DigestRecord
impl Send for DigestRecord
impl Sync for DigestRecord
impl Unpin for DigestRecord
impl UnsafeUnpin for DigestRecord
impl UnwindSafe for DigestRecord
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