Struct ppppp_msg::MsgMetadataHash
source · pub struct MsgMetadataHash(/* private fields */);
Expand description
A message metadata hash
Implementations§
Trait Implementations§
source§impl AsBytes<16> for MsgMetadataHash
impl AsBytes<16> for MsgMetadataHash
source§impl Clone for MsgMetadataHash
impl Clone for MsgMetadataHash
source§fn clone(&self) -> MsgMetadataHash
fn clone(&self) -> MsgMetadataHash
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 MsgMetadataHash
impl Debug for MsgMetadataHash
source§impl<'de> Deserialize<'de> for MsgMetadataHash
impl<'de> Deserialize<'de> for MsgMetadataHash
source§fn deserialize<D>(deserializer: D) -> Result<MsgMetadataHash, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<MsgMetadataHash, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MsgMetadataHash
impl Display for MsgMetadataHash
source§impl From<&MsgMetadataHash> for String
impl From<&MsgMetadataHash> for String
source§fn from(value: &MsgMetadataHash) -> String
fn from(value: &MsgMetadataHash) -> String
Converts to this type from the input type.
source§impl FromBytes<16> for MsgMetadataHash
impl FromBytes<16> for MsgMetadataHash
type Error = Infallible
fn from_bytes(bytes: &[u8; 16]) -> Result<Self, Self::Error>
fn from_base58( base58_str: &str ) -> Result<Self, DeserializeBytesError<Self::Error>>
source§impl FromStr for MsgMetadataHash
impl FromStr for MsgMetadataHash
source§impl Hash for MsgMetadataHash
impl Hash for MsgMetadataHash
source§impl Ord for MsgMetadataHash
impl Ord for MsgMetadataHash
source§fn cmp(&self, other: &MsgMetadataHash) -> Ordering
fn cmp(&self, other: &MsgMetadataHash) -> 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<MsgMetadataHash> for MsgMetadataHash
impl PartialEq<MsgMetadataHash> for MsgMetadataHash
source§fn eq(&self, other: &MsgMetadataHash) -> bool
fn eq(&self, other: &MsgMetadataHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MsgMetadataHash> for MsgMetadataHash
impl PartialOrd<MsgMetadataHash> for MsgMetadataHash
source§fn partial_cmp(&self, other: &MsgMetadataHash) -> Option<Ordering>
fn partial_cmp(&self, other: &MsgMetadataHash) -> 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 Serialize for MsgMetadataHash
impl Serialize for MsgMetadataHash
source§impl TryFrom<String> for MsgMetadataHash
impl TryFrom<String> for MsgMetadataHash
impl Copy for MsgMetadataHash
impl Eq for MsgMetadataHash
impl StructuralEq for MsgMetadataHash
impl StructuralPartialEq for MsgMetadataHash
Auto Trait Implementations§
impl RefUnwindSafe for MsgMetadataHash
impl Send for MsgMetadataHash
impl Sync for MsgMetadataHash
impl Unpin for MsgMetadataHash
impl UnwindSafe for MsgMetadataHash
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