Struct sealed_box::KeyPair
source · pub struct KeyPair {
pub pk: PublicKey,
pub sk: SecretKey,
}
Expand description
A key pair
Fields§
§pk: PublicKey
The public key component.
sk: SecretKey
The secret key component.
Implementations§
Trait Implementations§
source§impl PartialEq<KeyPair> for KeyPair
impl PartialEq<KeyPair> for KeyPair
impl Eq for KeyPair
impl StructuralEq for KeyPair
impl StructuralPartialEq for KeyPair
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