pub struct Base64KeyPair {
pub public_key: String,
pub private_key: String,
}Expand description
A public-private key pair.
This is used to sign and verify data, primarily during the handshake phase.
Fields§
§public_key: String§private_key: StringTrait Implementations§
Source§impl Clone for Base64KeyPair
impl Clone for Base64KeyPair
Source§fn clone(&self) -> Base64KeyPair
fn clone(&self) -> Base64KeyPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Base64KeyPair
impl RefUnwindSafe for Base64KeyPair
impl Send for Base64KeyPair
impl Sync for Base64KeyPair
impl Unpin for Base64KeyPair
impl UnwindSafe for Base64KeyPair
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