Struct infinitree::crypto::cryptobox::Keypair
source · pub struct Keypair {
pub public_key: RawKey,
pub secret_key: RawKey,
}
Expand description
A key pair for crypto_box-based schemes.
Fields§
§public_key: RawKey
§secret_key: RawKey
Implementations§
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