pub struct Keypair {
pub public_key: Vec<u8>,
pub private_key: Vec<u8>,
}Expand description
An encoded keypair
Fields§
§public_key: Vec<u8>the public key for this keypair
private_key: Vec<u8>the private key for this keypair,
Implementations§
Trait Implementations§
impl Eq for Keypair
impl StructuralPartialEq 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