Struct safe_zk_token_sdk::zk_token_elgamal::pod::ValidityProof
source · #[repr(transparent)]pub struct ValidityProof(pub [u8; 160]);
Expand description
Serialization of validity proofs
Tuple Fields§
§0: [u8; 160]
Trait Implementations§
source§impl Clone for ValidityProof
impl Clone for ValidityProof
source§fn clone(&self) -> ValidityProof
fn clone(&self) -> ValidityProof
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 ValidityProof
impl Pod for ValidityProof
Auto Trait Implementations§
impl RefUnwindSafe for ValidityProof
impl Send for ValidityProof
impl Sync for ValidityProof
impl Unpin for ValidityProof
impl UnwindSafe for ValidityProof
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
.