Struct cardano_serialization_lib::legacy_address::Addr [−][src]
pub struct Addr(_);
Expand description
A valid cardano Address that is displayed in base58
Implementations
Check if the Addr can be reconstructed with a specific xpub
mostly helper of the previous function, so not to have to expose the xpub construction
Trait Implementations
method to implement to deserialise an object from the given
Deserializer
. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
Auto Trait Implementations
impl RefUnwindSafe for Addr
impl UnwindSafe for Addr
Blanket Implementations
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
pub fn deserialize<R>(&mut Deserializer<R>) -> Result<T, DeserializeError> where
R: BufRead + Seek,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more