pub struct SecretKey { /* private fields */ }Expand description
The secret key of the account.
Implementations§
Source§impl SecretKey
impl SecretKey
Sourcepub fn inner(&self) -> &SigningKey
pub fn inner(&self) -> &SigningKey
Return the inner keypair.
Sourcepub fn secret_seed(&self) -> String
pub fn secret_seed(&self) -> String
Return the secret key as String, starting with S.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecretKey
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
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