Struct libhydrogen::sign::KeyPair
source · pub struct KeyPair {
pub public_key: PublicKey,
pub secret_key: SecretKey,
}
Fields§
§public_key: PublicKey
§secret_key: SecretKey
Implementations§
Trait Implementations§
source§impl From<MaybeUninit<hydro_sign_keypair>> for KeyPair
impl From<MaybeUninit<hydro_sign_keypair>> for KeyPair
source§fn from(keypair_c: MaybeUninit<hydro_sign_keypair>) -> KeyPair
fn from(keypair_c: MaybeUninit<hydro_sign_keypair>) -> KeyPair
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for KeyPair
impl Send for KeyPair
impl Sync for KeyPair
impl Unpin for KeyPair
impl UnwindSafe for KeyPair
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