Struct paillier::MinimalDecryptionKey
source · Expand description
Private decryption key with no precomputed values.
Used e.g. for serialization of DecryptionKey
.
Fields
p: BigInt
q: BigInt
Trait Implementations
sourceimpl Clone for MinimalDecryptionKey
impl Clone for MinimalDecryptionKey
sourcefn clone(&self) -> MinimalDecryptionKey
fn clone(&self) -> MinimalDecryptionKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MinimalDecryptionKey
impl Debug for MinimalDecryptionKey
sourceimpl<'de> Deserialize<'de> for MinimalDecryptionKey
impl<'de> Deserialize<'de> for MinimalDecryptionKey
sourcefn 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
sourceimpl<'e> From<&'e DecryptionKey> for MinimalDecryptionKey
impl<'e> From<&'e DecryptionKey> for MinimalDecryptionKey
sourcefn from(dk: &'e DecryptionKey) -> Self
fn from(dk: &'e DecryptionKey) -> Self
Converts to this type from the input type.
sourceimpl<'kp> From<&'kp Keypair> for MinimalDecryptionKey
impl<'kp> From<&'kp Keypair> for MinimalDecryptionKey
sourceimpl<'e> From<MinimalDecryptionKey> for DecryptionKey
impl<'e> From<MinimalDecryptionKey> for DecryptionKey
sourcefn from(dk: MinimalDecryptionKey) -> Self
fn from(dk: MinimalDecryptionKey) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<MinimalDecryptionKey> for MinimalDecryptionKey
impl PartialEq<MinimalDecryptionKey> for MinimalDecryptionKey
sourcefn eq(&self, other: &MinimalDecryptionKey) -> bool
fn eq(&self, other: &MinimalDecryptionKey) -> bool
sourceimpl Serialize for MinimalDecryptionKey
impl Serialize for MinimalDecryptionKey
impl StructuralPartialEq for MinimalDecryptionKey
Auto Trait Implementations
impl RefUnwindSafe for MinimalDecryptionKey
impl Send for MinimalDecryptionKey
impl Sync for MinimalDecryptionKey
impl Unpin for MinimalDecryptionKey
impl UnwindSafe for MinimalDecryptionKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more