Struct sep2_common::packages::primitives::HexBinary160
source · pub struct HexBinary160(pub [u8; 20]);
Tuple Fields§
§0: [u8; 20]
Trait Implementations§
source§impl AsRef<[u8]> for HexBinary160
impl AsRef<[u8]> for HexBinary160
source§impl Clone for HexBinary160
impl Clone for HexBinary160
source§fn clone(&self) -> HexBinary160
fn clone(&self) -> HexBinary160
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 HexBinary160
impl Debug for HexBinary160
source§impl Default for HexBinary160
impl Default for HexBinary160
source§fn default() -> HexBinary160
fn default() -> HexBinary160
Returns the “default value” for a type. Read more
source§impl Display for HexBinary160
impl Display for HexBinary160
source§impl FromStr for HexBinary160
impl FromStr for HexBinary160
source§impl Hash for HexBinary160
impl Hash for HexBinary160
source§impl Index<usize> for HexBinary160
impl Index<usize> for HexBinary160
source§impl Ord for HexBinary160
impl Ord for HexBinary160
source§fn cmp(&self, other: &HexBinary160) -> Ordering
fn cmp(&self, other: &HexBinary160) -> 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<HexBinary160> for HexBinary160
impl PartialEq<HexBinary160> for HexBinary160
source§fn eq(&self, other: &HexBinary160) -> bool
fn eq(&self, other: &HexBinary160) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HexBinary160> for HexBinary160
impl PartialOrd<HexBinary160> for HexBinary160
source§fn partial_cmp(&self, other: &HexBinary160) -> Option<Ordering>
fn partial_cmp(&self, other: &HexBinary160) -> 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 YaDeserialize for HexBinary160
impl YaDeserialize for HexBinary160
source§impl YaSerialize for HexBinary160
impl YaSerialize for HexBinary160
impl Copy for HexBinary160
impl Eq for HexBinary160
impl StructuralEq for HexBinary160
impl StructuralPartialEq for HexBinary160
Auto Trait Implementations§
impl RefUnwindSafe for HexBinary160
impl Send for HexBinary160
impl Sync for HexBinary160
impl Unpin for HexBinary160
impl UnwindSafe for HexBinary160
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