Struct safe_zk_token_sdk::zk_token_elgamal::pod::AeCiphertext
source · #[repr(transparent)]pub struct AeCiphertext(pub [u8; 36]);
Expand description
Serialization for AeCiphertext
Tuple Fields§
§0: [u8; 36]
Trait Implementations§
source§impl Clone for AeCiphertext
impl Clone for AeCiphertext
source§fn clone(&self) -> AeCiphertext
fn clone(&self) -> AeCiphertext
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 moresource§impl Debug for AeCiphertext
impl Debug for AeCiphertext
source§impl Default for AeCiphertext
impl Default for AeCiphertext
source§impl Display for AeCiphertext
impl Display for AeCiphertext
source§impl From<AeCiphertext> for AeCiphertext
impl From<AeCiphertext> for AeCiphertext
source§fn from(ct: AeCiphertext) -> Self
fn from(ct: AeCiphertext) -> Self
Converts to this type from the input type.
source§impl PartialEq<AeCiphertext> for AeCiphertext
impl PartialEq<AeCiphertext> for AeCiphertext
source§fn eq(&self, other: &AeCiphertext) -> bool
fn eq(&self, other: &AeCiphertext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AeCiphertext> for AeCiphertext
impl TryFrom<AeCiphertext> for AeCiphertext
§type Error = ProofError
type Error = ProofError
The type returned in the event of a conversion error.
impl Copy for AeCiphertext
impl Eq for AeCiphertext
impl Pod for AeCiphertext
impl StructuralEq for AeCiphertext
impl StructuralPartialEq for AeCiphertext
Auto Trait Implementations§
impl RefUnwindSafe for AeCiphertext
impl Send for AeCiphertext
impl Sync for AeCiphertext
impl Unpin for AeCiphertext
impl UnwindSafe for AeCiphertext
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.