pub enum AddressData {
Bech32Address(Bech32Address),
HexAddress(HexAddress),
Base58Address(Base58Address),
}Expand description
Represents a generic address data.
Variants§
Bech32Address(Bech32Address)
Represents the bech32 encoded address.
HexAddress(HexAddress)
Represents the hex encoded address.
Base58Address(Base58Address)
Represents the base58 encoded address.
Trait Implementations§
Source§impl Clone for AddressData
impl Clone for AddressData
Source§fn clone(&self) -> AddressData
fn clone(&self) -> AddressData
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AddressData
impl RefUnwindSafe for AddressData
impl Send for AddressData
impl Sync for AddressData
impl Unpin for AddressData
impl UnwindSafe for AddressData
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