pub struct DerivedAddress {
pub path: String,
pub private_key_hex: Zeroizing<String>,
pub public_key_hex: String,
pub address: String,
}Expand description
A derived Solana address with associated keys.
Fields§
§path: StringDerivation path used (e.g., m/44'/501'/0'/0').
private_key_hex: Zeroizing<String>Private key in hex format (zeroized on drop).
public_key_hex: StringPublic key in hex format.
address: StringSolana address (Base58 encoded public key).
Trait Implementations§
Source§impl Clone for DerivedAddress
impl Clone for DerivedAddress
Source§fn clone(&self) -> DerivedAddress
fn clone(&self) -> DerivedAddress
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 DerivedAddress
impl RefUnwindSafe for DerivedAddress
impl Send for DerivedAddress
impl Sync for DerivedAddress
impl Unpin for DerivedAddress
impl UnwindSafe for DerivedAddress
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