pub struct Sha1Hash(pub [u8; 20]);
Tuple Fields§
§0: [u8; 20]
Trait Implementations§
source§impl PartialEq<Sha1Hash> for Sha1Hash
impl PartialEq<Sha1Hash> for Sha1Hash
source§impl Tuplable for Sha1Hash
impl Tuplable for Sha1Hash
source§fn definition(&self) -> TupleDef
fn definition(&self) -> TupleDef
Returns the tuple’s definition. Read more
source§impl Valuable for Sha1Hash
impl Valuable for Sha1Hash
impl Copy for Sha1Hash
impl Eq for Sha1Hash
impl StructuralEq for Sha1Hash
impl StructuralPartialEq for Sha1Hash
Auto Trait Implementations§
impl RefUnwindSafe for Sha1Hash
impl Send for Sha1Hash
impl Sync for Sha1Hash
impl Unpin for Sha1Hash
impl UnwindSafe for Sha1Hash
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.