pub enum AddressFormat {
EvmCompatible,
Segwit,
TronBase58,
SolanaBase58,
}Expand description
Address format
Variants§
EvmCompatible
EVM-compatible address
Segwit
Segwit address
TronBase58
Tron Base58 address
SolanaBase58
Solana Base58 address
Trait Implementations§
Source§impl Clone for AddressFormat
impl Clone for AddressFormat
Source§fn clone(&self) -> AddressFormat
fn clone(&self) -> AddressFormat
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 moreSource§impl Debug for AddressFormat
impl Debug for AddressFormat
Source§impl<'de> Deserialize<'de> for AddressFormat
impl<'de> Deserialize<'de> for AddressFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddressFormat
impl PartialEq for AddressFormat
Source§impl Serialize for AddressFormat
impl Serialize for AddressFormat
impl Eq for AddressFormat
impl StructuralPartialEq for AddressFormat
Auto Trait Implementations§
impl Freeze for AddressFormat
impl RefUnwindSafe for AddressFormat
impl Send for AddressFormat
impl Sync for AddressFormat
impl Unpin for AddressFormat
impl UnwindSafe for AddressFormat
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