#[non_exhaustive]pub struct DerivedAddress {
pub path: String,
pub private_key_hex: Zeroizing<String>,
pub public_key_hex: String,
pub address: String,
}Expand description
A derived Ethereum address with associated keys.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: StringDerivation path used (e.g., m/44'/60'/0'/0/0).
private_key_hex: Zeroizing<String>Private key in hex format without 0x prefix (zeroized on drop).
public_key_hex: StringPublic key in uncompressed hex format.
address: StringChecksummed Ethereum address (EIP-55).
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 UnsafeUnpin 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