pub struct CiphertextValidityProofWithAuditorCiphertext {
pub proof_data: BatchedGroupedCiphertext3HandlesValidityProofData,
pub ciphertext_lo: PodElGamalCiphertext,
pub ciphertext_hi: PodElGamalCiphertext,
}Expand description
A type that wraps a ciphertext validity proof along with two lo and hi
ciphertexts.
Ciphertext validity proof data contains grouped ElGamal ciphertexts (lo
and hi) and a proof containing the validity of these ciphertexts. Token
client-side logic often requires a function to extract specific forms of
the grouped ElGamal ciphertexts. This type is a convenience type that
contains the proof data and the extracted ciphertexts.
Fields§
§proof_data: BatchedGroupedCiphertext3HandlesValidityProofData§ciphertext_lo: PodElGamalCiphertext§ciphertext_hi: PodElGamalCiphertextTrait Implementations§
Source§impl Clone for CiphertextValidityProofWithAuditorCiphertext
impl Clone for CiphertextValidityProofWithAuditorCiphertext
Source§fn clone(&self) -> CiphertextValidityProofWithAuditorCiphertext
fn clone(&self) -> CiphertextValidityProofWithAuditorCiphertext
Returns a copy 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 moreimpl Copy for CiphertextValidityProofWithAuditorCiphertext
Auto Trait Implementations§
impl Freeze for CiphertextValidityProofWithAuditorCiphertext
impl RefUnwindSafe for CiphertextValidityProofWithAuditorCiphertext
impl Send for CiphertextValidityProofWithAuditorCiphertext
impl Sync for CiphertextValidityProofWithAuditorCiphertext
impl Unpin for CiphertextValidityProofWithAuditorCiphertext
impl UnwindSafe for CiphertextValidityProofWithAuditorCiphertext
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
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