Struct algonaut_crypto::HashDigest
source · [−]Expand description
A SHA512_256 hash
Tuple Fields
0: [u8; 32]
Trait Implementations
sourceimpl AsRef<[u8]> for HashDigest
impl AsRef<[u8]> for HashDigest
sourceimpl Clone for HashDigest
impl Clone for HashDigest
sourcefn clone(&self) -> HashDigest
fn clone(&self) -> HashDigest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HashDigest
impl Debug for HashDigest
sourceimpl<'de> Deserialize<'de> for HashDigest
impl<'de> Deserialize<'de> for HashDigest
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HashDigest
impl Display for HashDigest
sourceimpl FromStr for HashDigest
impl FromStr for HashDigest
sourceimpl PartialEq<HashDigest> for HashDigest
impl PartialEq<HashDigest> for HashDigest
sourcefn eq(&self, other: &HashDigest) -> bool
fn eq(&self, other: &HashDigest) -> bool
sourceimpl Serialize for HashDigest
impl Serialize for HashDigest
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for HashDigest
impl Eq for HashDigest
impl StructuralEq for HashDigest
impl StructuralPartialEq for HashDigest
Auto Trait Implementations
impl RefUnwindSafe for HashDigest
impl Send for HashDigest
impl Sync for HashDigest
impl Unpin for HashDigest
impl UnwindSafe for HashDigest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.