Struct ed25519_compact::x25519::KeyPair
source · pub struct KeyPair {
pub pk: PublicKey,
pub sk: SecretKey,
}
Expand description
A key pair.
Fields§
§pk: PublicKey
Public key part of the key pair.
sk: SecretKey
Secret key part of the key pair.
Implementations§
Trait Implementations§
source§impl PartialEq for KeyPair
impl PartialEq for KeyPair
impl Eq 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