pub struct PaperWallet {
pub address: String,
pub wif: String,
pub network: String,
pub address_type: String,
}Expand description
Paper wallet data.
Fields§
§address: StringPublic address for receiving
wif: StringPrivate key in WIF format
network: StringNetwork
address_type: StringAddress type (p2pkh, p2wpkh, etc.)
Trait Implementations§
Source§impl Clone for PaperWallet
impl Clone for PaperWallet
Source§fn clone(&self) -> PaperWallet
fn clone(&self) -> PaperWallet
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 PaperWallet
impl Debug for PaperWallet
Source§impl<'de> Deserialize<'de> for PaperWallet
impl<'de> Deserialize<'de> for PaperWallet
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
Auto Trait Implementations§
impl Freeze for PaperWallet
impl RefUnwindSafe for PaperWallet
impl Send for PaperWallet
impl Sync for PaperWallet
impl Unpin for PaperWallet
impl UnwindSafe for PaperWallet
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