pub struct PublicDecryptionContextSimple<E: Pairing> {
pub domain: E::ScalarField,
pub public_key_share: PublicKeyShare<E>,
pub blinded_key_share: BlindedKeyShare<E>,
pub h: E::G2Affine,
pub validator_public_key: E::G2,
}Fields§
§domain: E::ScalarField§h: E::G2Affine§validator_public_key: E::G2Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for PublicDecryptionContextSimple<E>
impl<E> RefUnwindSafe for PublicDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: RefUnwindSafe,
<E as Pairing>::G2Affine: RefUnwindSafe,
<E as Pairing>::G2: RefUnwindSafe,
<E as Pairing>::G1Affine: RefUnwindSafe,
<E as Pairing>::G2Prepared: RefUnwindSafe,
impl<E> Send for PublicDecryptionContextSimple<E>
impl<E> Sync for PublicDecryptionContextSimple<E>
impl<E> Unpin for PublicDecryptionContextSimple<E>
impl<E> UnsafeUnpin for PublicDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: UnsafeUnpin,
<E as Pairing>::G2Affine: UnsafeUnpin,
<E as Pairing>::G2: UnsafeUnpin,
<E as Pairing>::G1Affine: UnsafeUnpin,
<E as Pairing>::G2Prepared: UnsafeUnpin,
impl<E> UnwindSafe for PublicDecryptionContextSimple<E>where
<E as Pairing>::ScalarField: UnwindSafe,
<E as Pairing>::G2Affine: UnwindSafe,
<E as Pairing>::G2: UnwindSafe,
<E as Pairing>::G1Affine: UnwindSafe,
<E as Pairing>::G2Prepared: 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