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
sourceimpl ExtendedAddr
impl ExtendedAddr
Trait Implementations
sourceimpl Clone for ExtendedAddr
impl Clone for ExtendedAddr
sourcefn clone(&self) -> ExtendedAddr
fn clone(&self) -> ExtendedAddr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtendedAddr
impl Debug for ExtendedAddr
sourceimpl Deserialize for ExtendedAddr
impl Deserialize for ExtendedAddr
sourcefn 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 moresourceimpl Display for ExtendedAddr
impl Display for ExtendedAddr
sourceimpl From<ExtendedAddr> for Addr
impl From<ExtendedAddr> for Addr
sourcefn from(ea: ExtendedAddr) -> Self
fn from(ea: ExtendedAddr) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ExtendedAddr
impl FromStr for ExtendedAddr
sourceimpl Ord for ExtendedAddr
impl Ord for ExtendedAddr
sourcefn cmp(&self, other: &ExtendedAddr) -> Ordering
fn cmp(&self, other: &ExtendedAddr) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExtendedAddr> for ExtendedAddr
impl PartialEq<ExtendedAddr> for ExtendedAddr
sourcefn eq(&self, other: &ExtendedAddr) -> bool
fn eq(&self, other: &ExtendedAddr) -> bool
sourceimpl PartialOrd<ExtendedAddr> for ExtendedAddr
impl PartialOrd<ExtendedAddr> for ExtendedAddr
sourcefn partial_cmp(&self, other: &ExtendedAddr) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendedAddr) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for ExtendedAddr
impl Serialize for ExtendedAddr
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
sourceimpl TryFrom<&[u8]> for ExtendedAddr
impl TryFrom<&[u8]> for ExtendedAddr
impl Eq for ExtendedAddr
impl StructuralEq for ExtendedAddr
impl StructuralPartialEq for ExtendedAddr
Auto Trait Implementations
impl RefUnwindSafe for ExtendedAddr
impl Send for ExtendedAddr
impl Sync for ExtendedAddr
impl Unpin for ExtendedAddr
impl UnwindSafe for ExtendedAddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more