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