pub struct SigFold {
pub first: u64,
pub second: u64,
pub fnv1a64: u64,
pub sha256: String,
pub words: Vec<u64>,
}Expand description
The 128-word MinHash signature folded for compact transport: first two words verbatim, then FNV-1a 64 and SHA-256 over all 128 little-endian words.
Fields§
§first: u64Signature word 0, verbatim.
second: u64Signature word 1, verbatim.
fnv1a64: u64FNV-1a 64 over all 128 words as little-endian bytes.
sha256: StringSHA-256 over all 128 words as little-endian bytes, hex.
words: Vec<u64>The full 128-word signature.
Auto Trait Implementations§
impl Freeze for SigFold
impl RefUnwindSafe for SigFold
impl Send for SigFold
impl Sync for SigFold
impl Unpin for SigFold
impl UnsafeUnpin for SigFold
impl UnwindSafe for SigFold
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