pub struct ExtendedAddr {
pub addr: [u8; 28],
pub attributes: Attributes,
pub addr_type: AddrType,
}
Expand description
A valid cardano address deconstructed
Fields§
§addr: [u8; 28]
§attributes: Attributes
§addr_type: AddrType
Implementations§
source§impl ExtendedAddr
impl ExtendedAddr
Trait Implementations§
source§impl Clone for ExtendedAddr
impl Clone for ExtendedAddr
source§fn clone(&self) -> ExtendedAddr
fn clone(&self) -> ExtendedAddr
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 ExtendedAddr
impl Debug for ExtendedAddr
source§impl Deserialize for ExtendedAddr
impl Deserialize for ExtendedAddr
source§fn deserialize<R: BufRead>(reader: &mut Deserializer<R>) -> Result<Self>
fn deserialize<R: BufRead>(reader: &mut Deserializer<R>) -> Result<Self>
method to implement to deserialise an object from the given
Deserializer
. Read moresource§impl Display for ExtendedAddr
impl Display for ExtendedAddr
source§impl From<ExtendedAddr> for Addr
impl From<ExtendedAddr> for Addr
source§fn from(ea: ExtendedAddr) -> Self
fn from(ea: ExtendedAddr) -> Self
Converts to this type from the input type.
source§impl FromStr for ExtendedAddr
impl FromStr for ExtendedAddr
source§impl Ord for ExtendedAddr
impl Ord for ExtendedAddr
source§fn cmp(&self, other: &ExtendedAddr) -> Ordering
fn cmp(&self, other: &ExtendedAddr) -> 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<ExtendedAddr> for ExtendedAddr
impl PartialEq<ExtendedAddr> for ExtendedAddr
source§fn eq(&self, other: &ExtendedAddr) -> bool
fn eq(&self, other: &ExtendedAddr) -> bool
source§impl PartialOrd<ExtendedAddr> for ExtendedAddr
impl PartialOrd<ExtendedAddr> for ExtendedAddr
source§fn partial_cmp(&self, other: &ExtendedAddr) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendedAddr) -> 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 more