pub struct NonMasterKeys {
pub private_key_hex: String,
pub public_key_hex: String,
pub chain_code_hex: String,
pub is_hardened: bool,
}Fields§
§private_key_hex: String§public_key_hex: String§chain_code_hex: String§is_hardened: boolImplementations§
Source§impl NonMasterKeys
impl NonMasterKeys
pub fn get_wif(&self, network: Network, should_compress: bool) -> String
pub fn get_address(&self, network: Network, address_type: AddressType) -> String
pub fn serialize( &self, parent_public_key: String, depth: u8, child_index: u32, network: Network, bip: Bip, ) -> SerializedExtendedKeys
Trait Implementations§
Source§impl Clone for NonMasterKeys
impl Clone for NonMasterKeys
Source§fn clone(&self) -> NonMasterKeys
fn clone(&self) -> NonMasterKeys
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 moreAuto Trait Implementations§
impl Freeze for NonMasterKeys
impl RefUnwindSafe for NonMasterKeys
impl Send for NonMasterKeys
impl Sync for NonMasterKeys
impl Unpin for NonMasterKeys
impl UnwindSafe for NonMasterKeys
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