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