Struct concordium_std::HashSha2256
source · #[repr(transparent)]pub struct HashSha2256(pub [u8; 32]);
Expand description
Sha2 digest with 256 bits (32 bytes).
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for HashSha2256
impl Clone for HashSha2256
source§fn clone(&self) -> HashSha2256
fn clone(&self) -> HashSha2256
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 HashSha2256
impl Debug for HashSha2256
source§impl Deserial for HashSha2256
impl Deserial for HashSha2256
source§impl Display for HashSha2256
impl Display for HashSha2256
source§impl FromStr for HashSha2256
impl FromStr for HashSha2256
source§impl Ord for HashSha2256
impl Ord for HashSha2256
source§fn cmp(&self, other: &HashSha2256) -> Ordering
fn cmp(&self, other: &HashSha2256) -> 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 for HashSha2256
impl PartialEq for HashSha2256
source§fn eq(&self, other: &HashSha2256) -> bool
fn eq(&self, other: &HashSha2256) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HashSha2256
impl PartialOrd for HashSha2256
source§fn partial_cmp(&self, other: &HashSha2256) -> Option<Ordering>
fn partial_cmp(&self, other: &HashSha2256) -> 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 moresource§impl SchemaType for HashSha2256
impl SchemaType for HashSha2256
source§impl Serial for HashSha2256
impl Serial for HashSha2256
impl Copy for HashSha2256
impl Eq for HashSha2256
impl StructuralPartialEq for HashSha2256
Auto Trait Implementations§
impl Freeze for HashSha2256
impl RefUnwindSafe for HashSha2256
impl Send for HashSha2256
impl Sync for HashSha2256
impl Unpin for HashSha2256
impl UnwindSafe for HashSha2256
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<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
source§fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
Attempt to read a structure from a given source and state, failing if
an error occurs during deserialization or reading.