pub struct PaillierPublicKey {
pub n: BigUint,
pub n_squared: BigUint,
pub g: BigUint,
}Fields§
§n: BigUint§n_squared: BigUint§g: BigUintTrait Implementations§
Source§impl Clone for PaillierPublicKey
impl Clone for PaillierPublicKey
Source§fn clone(&self) -> PaillierPublicKey
fn clone(&self) -> PaillierPublicKey
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 moreAuto Trait Implementations§
impl Freeze for PaillierPublicKey
impl RefUnwindSafe for PaillierPublicKey
impl Send for PaillierPublicKey
impl Sync for PaillierPublicKey
impl Unpin for PaillierPublicKey
impl UnsafeUnpin for PaillierPublicKey
impl UnwindSafe for PaillierPublicKey
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