Struct hpke_dispatch::Keypair
source · 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§
source§impl PartialEq<Keypair> for Keypair
impl PartialEq<Keypair> for Keypair
impl Eq for Keypair
impl StructuralEq for Keypair
impl StructuralPartialEq for Keypair
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