pub struct HeaderHash(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Implementations§
Source§impl HeaderHash
impl HeaderHash
Trait Implementations§
Source§impl Clone for HeaderHash
impl Clone for HeaderHash
Source§fn clone(&self) -> HeaderHash
fn clone(&self) -> HeaderHash
Returns a duplicate 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 HeaderHash
impl Debug for HeaderHash
Source§impl Decode for HeaderHash
impl Decode for HeaderHash
Source§impl Display for HeaderHash
impl Display for HeaderHash
Source§impl Hash for HeaderHash
impl Hash for HeaderHash
Source§impl Ord for HeaderHash
impl Ord for HeaderHash
Source§fn cmp(&self, other: &HeaderHash) -> Ordering
fn cmp(&self, other: &HeaderHash) -> 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 HeaderHash
impl PartialEq for HeaderHash
Source§impl PartialOrd for HeaderHash
impl PartialOrd for HeaderHash
impl Eq for HeaderHash
impl StructuralPartialEq for HeaderHash
Auto Trait Implementations§
impl Freeze for HeaderHash
impl RefUnwindSafe for HeaderHash
impl Send for HeaderHash
impl Sync for HeaderHash
impl Unpin for HeaderHash
impl UnwindSafe for HeaderHash
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