pub enum WalletType {
HD,
SingleKey,
MultiSig,
Hardware,
SmartContract,
Custodial,
}Expand description
Type of wallet
Variants§
HD
HD (Hierarchical Deterministic) wallet
SingleKey
Single-key wallet
MultiSig
Multi-signature wallet
Hardware
Hardware wallet
SmartContract
Smart contract wallet
Custodial
Custodial wallet
Implementations§
Source§impl WalletType
impl WalletType
Trait Implementations§
Source§impl Clone for WalletType
impl Clone for WalletType
Source§fn clone(&self) -> WalletType
fn clone(&self) -> WalletType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WalletType
Source§impl Debug for WalletType
impl Debug for WalletType
Source§impl<'de> Deserialize<'de> for WalletType
impl<'de> Deserialize<'de> for WalletType
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
impl Eq for WalletType
Source§impl PartialEq for WalletType
impl PartialEq for WalletType
Source§fn eq(&self, other: &WalletType) -> bool
fn eq(&self, other: &WalletType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WalletType
impl Serialize for WalletType
impl StructuralPartialEq for WalletType
Auto Trait Implementations§
impl Freeze for WalletType
impl RefUnwindSafe for WalletType
impl Send for WalletType
impl Sync for WalletType
impl Unpin for WalletType
impl UnsafeUnpin for WalletType
impl UnwindSafe for WalletType
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