pub struct DatabaseEntry {
pub hash: String,
pub algorithm: String,
pub fast_mode: bool,
}Expand description
Database entry with metadata
Fields§
§hash: StringLowercase hexadecimal digest.
algorithm: StringAlgorithm name recorded in the row.
fast_mode: boolWhether the digest was created with sampled hashing.
Trait Implementations§
Source§impl Clone for DatabaseEntry
impl Clone for DatabaseEntry
Auto Trait Implementations§
impl Freeze for DatabaseEntry
impl RefUnwindSafe for DatabaseEntry
impl Send for DatabaseEntry
impl Sync for DatabaseEntry
impl Unpin for DatabaseEntry
impl UnsafeUnpin for DatabaseEntry
impl UnwindSafe for DatabaseEntry
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<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