Struct paillier::MinimalDecryptionKey [−][src]
pub struct MinimalDecryptionKey { /* fields omitted */ }
Private decryption key with no precomputed values.
Used e.g. for serialization of DecryptionKey
.
Trait Implementations
impl<'kp> From<&'kp Keypair> for MinimalDecryptionKey
[src]
impl<'kp> From<&'kp Keypair> for MinimalDecryptionKey
impl<'e> From<&'e DecryptionKey> for MinimalDecryptionKey
[src]
impl<'e> From<&'e DecryptionKey> for MinimalDecryptionKey
fn from(dk: &'e DecryptionKey) -> Self
[src]
fn from(dk: &'e DecryptionKey) -> Self
Performs the conversion.
impl<'e> From<MinimalDecryptionKey> for DecryptionKey
[src]
impl<'e> From<MinimalDecryptionKey> for DecryptionKey
fn from(dk: MinimalDecryptionKey) -> Self
[src]
fn from(dk: MinimalDecryptionKey) -> Self
Performs the conversion.
impl Clone for MinimalDecryptionKey
[src]
impl Clone for MinimalDecryptionKey
fn clone(&self) -> MinimalDecryptionKey
[src]
fn clone(&self) -> MinimalDecryptionKey
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 MinimalDecryptionKey
[src]
impl Debug for MinimalDecryptionKey
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 MinimalDecryptionKey
[src]
impl PartialEq for MinimalDecryptionKey
fn eq(&self, other: &MinimalDecryptionKey) -> bool
[src]
fn eq(&self, other: &MinimalDecryptionKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MinimalDecryptionKey) -> bool
[src]
fn ne(&self, other: &MinimalDecryptionKey) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MinimalDecryptionKey
impl Send for MinimalDecryptionKey
impl Sync for MinimalDecryptionKey
impl Sync for MinimalDecryptionKey