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 more
sourceimpl 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 more
sourceimpl 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
sourceimpl PartialEq<ExtendedAddr> for ExtendedAddr
impl PartialEq<ExtendedAddr> for ExtendedAddr
sourcefn eq(&self, other: &ExtendedAddr) -> bool
fn eq(&self, other: &ExtendedAddr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExtendedAddr) -> bool
fn ne(&self, other: &ExtendedAddr) -> bool
This method tests for !=
.
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>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl Serialize for ExtendedAddr
impl Serialize for ExtendedAddr
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Deserialize for T where
T: Deserialize,
impl<T> Deserialize for T where
T: Deserialize,
fn deserialize<R>(raw: &mut Deserializer<R>) -> Result<T, DeserializeError> where
R: BufRead + Seek,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more