pub struct HashEntry {
pub digest: String,
pub file_path: PathBuf,
pub file_size: u64,
pub added_at: u64,
}Expand description
A single hash entry in the store.
Fields§
§digest: StringThe 256-bit hash digest as a hex string.
file_path: PathBufThe file path that produced this hash.
file_size: u64File size in bytes.
added_at: u64Unix timestamp when the entry was added.
Implementations§
Trait Implementations§
impl Eq for HashEntry
impl StructuralPartialEq for HashEntry
Auto Trait Implementations§
impl Freeze for HashEntry
impl RefUnwindSafe for HashEntry
impl Send for HashEntry
impl Sync for HashEntry
impl Unpin for HashEntry
impl UnsafeUnpin for HashEntry
impl UnwindSafe for HashEntry
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more