pub struct PrivateDecryptionContextSimple<E: Pairing> {
pub index: usize,
pub setup_params: SetupParams<E>,
pub private_key_share: PrivateKeyShare<E>,
pub public_decryption_contexts: Vec<PublicDecryptionContextSimple<E>>,
pub validator_private_key: E::ScalarField,
}Fields§
§index: usize§setup_params: SetupParams<E>§public_decryption_contexts: Vec<PublicDecryptionContextSimple<E>>§validator_private_key: E::ScalarFieldImplementations§
Source§impl<E: Pairing> PrivateDecryptionContextSimple<E>
impl<E: Pairing> PrivateDecryptionContextSimple<E>
Trait Implementations§
Source§impl<E: Clone + Pairing> Clone for PrivateDecryptionContextSimple<E>where
E::ScalarField: Clone,
impl<E: Clone + Pairing> Clone for PrivateDecryptionContextSimple<E>where
E::ScalarField: Clone,
Source§fn clone(&self) -> PrivateDecryptionContextSimple<E>
fn clone(&self) -> PrivateDecryptionContextSimple<E>
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<E> Freeze for PrivateDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: Freeze,
<E as Pairing>::G1Affine: Freeze,
<E as Pairing>::G1Prepared: Freeze,
<E as Pairing>::G2Prepared: Freeze,
<E as Pairing>::G2Affine: Freeze,
impl<E> RefUnwindSafe for PrivateDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: RefUnwindSafe,
<E as Pairing>::G1Affine: RefUnwindSafe,
<E as Pairing>::G1Prepared: RefUnwindSafe,
<E as Pairing>::G2Prepared: RefUnwindSafe,
<E as Pairing>::G2Affine: RefUnwindSafe,
<E as Pairing>::G2: RefUnwindSafe,
impl<E> Send for PrivateDecryptionContextSimple<E>
impl<E> Sync for PrivateDecryptionContextSimple<E>
impl<E> Unpin for PrivateDecryptionContextSimple<E>
impl<E> UnsafeUnpin for PrivateDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: UnsafeUnpin,
<E as Pairing>::G1Affine: UnsafeUnpin,
<E as Pairing>::G1Prepared: UnsafeUnpin,
<E as Pairing>::G2Prepared: UnsafeUnpin,
<E as Pairing>::G2Affine: UnsafeUnpin,
impl<E> UnwindSafe for PrivateDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: UnwindSafe,
<E as Pairing>::G1Affine: UnwindSafe,
<E as Pairing>::G1Prepared: UnwindSafe,
<E as Pairing>::G2Prepared: UnwindSafe,
<E as Pairing>::G2Affine: UnwindSafe,
<E as Pairing>::G2: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more