pub struct MinimalEncryptionKey {
pub n: BigInt,
}Expand description
Public encryption key with no precomputed values.
Used e.g. for serialization of EncryptionKey.
Fields§
§n: BigIntTrait Implementations§
Source§impl Clone for MinimalEncryptionKey
impl Clone for MinimalEncryptionKey
Source§fn clone(&self) -> MinimalEncryptionKey
fn clone(&self) -> MinimalEncryptionKey
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 moreSource§impl Debug for MinimalEncryptionKey
impl Debug for MinimalEncryptionKey
Source§impl<'de> Deserialize<'de> for MinimalEncryptionKey
impl<'de> Deserialize<'de> for MinimalEncryptionKey
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
Source§impl<'e> From<&'e EncryptionKey> for MinimalEncryptionKey
impl<'e> From<&'e EncryptionKey> for MinimalEncryptionKey
Source§fn from(ek: &'e EncryptionKey) -> Self
fn from(ek: &'e EncryptionKey) -> Self
Converts to this type from the input type.
Source§impl<'kp> From<&'kp Keypair> for MinimalEncryptionKey
impl<'kp> From<&'kp Keypair> for MinimalEncryptionKey
Source§impl<'e> From<MinimalEncryptionKey> for EncryptionKey
impl<'e> From<MinimalEncryptionKey> for EncryptionKey
Source§fn from(ek: MinimalEncryptionKey) -> Self
fn from(ek: MinimalEncryptionKey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MinimalEncryptionKey
impl PartialEq for MinimalEncryptionKey
Source§impl Serialize for MinimalEncryptionKey
impl Serialize for MinimalEncryptionKey
impl StructuralPartialEq for MinimalEncryptionKey
Auto Trait Implementations§
impl Freeze for MinimalEncryptionKey
impl RefUnwindSafe for MinimalEncryptionKey
impl Send for MinimalEncryptionKey
impl Sync for MinimalEncryptionKey
impl Unpin for MinimalEncryptionKey
impl UnwindSafe for MinimalEncryptionKey
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