pub struct RequestHash(pub [u8; 32]);Expand description
A SHA3-256 digest of the complete tagged request bytes.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for RequestHash
impl Clone for RequestHash
Source§fn clone(&self) -> RequestHash
fn clone(&self) -> RequestHash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestHash
Source§impl Debug for RequestHash
impl Debug for RequestHash
impl Eq for RequestHash
Source§impl PartialEq for RequestHash
impl PartialEq for RequestHash
Source§fn eq(&self, other: &RequestHash) -> bool
fn eq(&self, other: &RequestHash) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestHash
Auto Trait Implementations§
impl Freeze for RequestHash
impl RefUnwindSafe for RequestHash
impl Send for RequestHash
impl Sync for RequestHash
impl Unpin for RequestHash
impl UnsafeUnpin for RequestHash
impl UnwindSafe for RequestHash
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