Struct concordium_std::HashKeccak256
source · #[repr(transparent)]pub struct HashKeccak256(pub [u8; 32]);
Expand description
Keccak digest with 256 bits (32 bytes).
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for HashKeccak256
impl Clone for HashKeccak256
source§fn clone(&self) -> HashKeccak256
fn clone(&self) -> HashKeccak256
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HashKeccak256
impl Debug for HashKeccak256
source§impl Deserial for HashKeccak256
impl Deserial for HashKeccak256
source§impl Ord for HashKeccak256
impl Ord for HashKeccak256
source§fn cmp(&self, other: &HashKeccak256) -> Ordering
fn cmp(&self, other: &HashKeccak256) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HashKeccak256> for HashKeccak256
impl PartialEq<HashKeccak256> for HashKeccak256
source§fn eq(&self, other: &HashKeccak256) -> bool
fn eq(&self, other: &HashKeccak256) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HashKeccak256> for HashKeccak256
impl PartialOrd<HashKeccak256> for HashKeccak256
source§fn partial_cmp(&self, other: &HashKeccak256) -> Option<Ordering>
fn partial_cmp(&self, other: &HashKeccak256) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more