pub struct GeneratedWallet {
pub signer: SigningKey,
pub address: [u8; 20],
pub private_key_hex: String,
}Expand description
A freshly-generated keypair plus its hex-encoded private key.
Fields§
§signer: SigningKey§address: [u8; 20]§private_key_hex: StringImplementations§
Source§impl GeneratedWallet
impl GeneratedWallet
pub fn address_hex(&self) -> String
Trait Implementations§
Source§impl Drop for GeneratedWallet
impl Drop for GeneratedWallet
Auto Trait Implementations§
impl Freeze for GeneratedWallet
impl RefUnwindSafe for GeneratedWallet
impl Send for GeneratedWallet
impl Sync for GeneratedWallet
impl Unpin for GeneratedWallet
impl UnsafeUnpin for GeneratedWallet
impl UnwindSafe for GeneratedWallet
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