pub struct Wif {
pub encrypted: Option<&'static str>,
pub decrypted: Option<&'static str>,
pub passphrase: Option<&'static str>,
}Expand description
Wallet Import Format (WIF) with optional BIP38 encryption.
Fields§
§encrypted: Option<&'static str>BIP38 encrypted WIF (starts with 6P)
decrypted: Option<&'static str>Decrypted/standard WIF (starts with 5, K, L)
passphrase: Option<&'static str>BIP38 passphrase for decryption
Trait Implementations§
impl Copy for Wif
impl Eq for Wif
impl StructuralPartialEq for Wif
Auto Trait Implementations§
impl Freeze for Wif
impl RefUnwindSafe for Wif
impl Send for Wif
impl Sync for Wif
impl Unpin for Wif
impl UnwindSafe for Wif
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