Struct paillier::MinimalEncryptionKey [−][src]
pub struct MinimalEncryptionKey { /* fields omitted */ }
Public encryption key with no precomputed values.
Used e.g. for serialization of EncryptionKey
.
Trait Implementations
impl<'kp> From<&'kp Keypair> for MinimalEncryptionKey
[src]
impl<'kp> From<&'kp Keypair> for MinimalEncryptionKey
impl<'e> From<&'e EncryptionKey> for MinimalEncryptionKey
[src]
impl<'e> From<&'e EncryptionKey> for MinimalEncryptionKey
fn from(ek: &'e EncryptionKey) -> Self
[src]
fn from(ek: &'e EncryptionKey) -> Self
Performs the conversion.
impl<'e> From<MinimalEncryptionKey> for EncryptionKey
[src]
impl<'e> From<MinimalEncryptionKey> for EncryptionKey
fn from(ek: MinimalEncryptionKey) -> Self
[src]
fn from(ek: MinimalEncryptionKey) -> Self
Performs the conversion.
impl Clone for MinimalEncryptionKey
[src]
impl Clone for MinimalEncryptionKey
fn clone(&self) -> MinimalEncryptionKey
[src]
fn clone(&self) -> MinimalEncryptionKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MinimalEncryptionKey
[src]
impl Debug for MinimalEncryptionKey
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MinimalEncryptionKey
[src]
impl PartialEq for MinimalEncryptionKey
fn eq(&self, other: &MinimalEncryptionKey) -> bool
[src]
fn eq(&self, other: &MinimalEncryptionKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MinimalEncryptionKey) -> bool
[src]
fn ne(&self, other: &MinimalEncryptionKey) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MinimalEncryptionKey
impl Send for MinimalEncryptionKey
impl Sync for MinimalEncryptionKey
impl Sync for MinimalEncryptionKey