pub enum WalletType {
OnChain(Coin),
Lightning,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WalletType
impl Clone for WalletType
Source§fn clone(&self) -> WalletType
fn clone(&self) -> WalletType
Returns a copy 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 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
Source§impl Hash for WalletType
impl Hash for WalletType
Source§impl PartialEq for WalletType
impl PartialEq for WalletType
Source§impl Serialize for WalletType
impl Serialize for WalletType
impl Eq 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 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