pub struct PqcKeyPair {
pub key_id: String,
pub algorithm: String,
pub private_key: Vec<u8>,
pub public_key: Vec<u8>,
}Expand description
Stub for non-pqc builds
Fields§
§key_id: String§algorithm: String§private_key: Vec<u8>§public_key: Vec<u8>Trait Implementations§
Source§impl Clone for PqcKeyPair
impl Clone for PqcKeyPair
Source§fn clone(&self) -> PqcKeyPair
fn clone(&self) -> PqcKeyPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PqcKeyPair
impl Debug for PqcKeyPair
Source§impl<'de> Deserialize<'de> for PqcKeyPair
impl<'de> Deserialize<'de> for PqcKeyPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PqcKeyPair
impl RefUnwindSafe for PqcKeyPair
impl Send for PqcKeyPair
impl Sync for PqcKeyPair
impl Unpin for PqcKeyPair
impl UnsafeUnpin for PqcKeyPair
impl UnwindSafe for PqcKeyPair
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