pub struct Keypair {
pub public: PublicKey,
pub secret: SecretKey,
}
Expand description
NIST P-256 keypair.
Fields§
§public: PublicKey
Public key of the keypair
secret: SecretKey
Secret key of the keypair
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keypair
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