pub struct Keypair {
pub secret: Vec<u8>,
pub public: Vec<u8>,
}Expand description
Simple keypair container.
Fields§
§secret: Vec<u8>Secret signing key bytes.
public: Vec<u8>Public verifying key bytes.
Trait Implementations§
impl ZeroizeOnDrop for Keypair
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