pub struct PrivKey {
pub network: Network,
pub derivation: Derivation,
pub extended_key: ExtendedPrivKey,
}
Fields§
§network: Network
§derivation: Derivation
§extended_key: ExtendedPrivKey
Implementations§
Source§impl PrivKey
impl PrivKey
pub fn from_master_key(extended_key: ExtendedPrivKey, network: Network) -> Self
Trait Implementations§
impl Eq for PrivKey
impl StructuralPartialEq for PrivKey
Auto Trait Implementations§
impl Freeze for PrivKey
impl RefUnwindSafe for PrivKey
impl Send for PrivKey
impl Sync for PrivKey
impl Unpin for PrivKey
impl UnwindSafe for PrivKey
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