pub struct Keypair {
pub private: Vec<u8>,
pub public: Vec<u8>,
}
Expand description
A keypair object returned by Builder::generate_keypair()
Fields§
§private: Vec<u8>
The private asymmetric key
public: Vec<u8>
The public asymmetric key
Trait 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