pub struct BlockKey {
pub kind: BlockKind,
pub key: String,
pub text: String,
}Expand description
A block with its comparison key and similarity text.
Fields§
§kind: BlockKind§key: StringComparison key (unprefixed HTML + image hashes).
text: StringPlain text used for similarity.
Trait Implementations§
impl Eq for BlockKey
impl StructuralPartialEq for BlockKey
Auto Trait Implementations§
impl Freeze for BlockKey
impl RefUnwindSafe for BlockKey
impl Send for BlockKey
impl Sync for BlockKey
impl Unpin for BlockKey
impl UnsafeUnpin for BlockKey
impl UnwindSafe for BlockKey
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.