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