pub struct ProofGammaDto(pub [u8; 32]);
Expand description
Proof gamma.
Tuple Fields§
§0: [u8; 32]
Implementations§
Source§impl ProofGammaDto
impl ProofGammaDto
pub const LENGTH: usize = 32usize
Sourcepub fn get_proof_gamma(&self) -> [u8; 32]
pub fn get_proof_gamma(&self) -> [u8; 32]
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for ProofGammaDto
impl Clone for ProofGammaDto
Source§fn clone(&self) -> ProofGammaDto
fn clone(&self) -> ProofGammaDto
Returns a duplicate 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 ProofGammaDto
impl Debug for ProofGammaDto
impl Copy for ProofGammaDto
Auto Trait Implementations§
impl Freeze for ProofGammaDto
impl RefUnwindSafe for ProofGammaDto
impl Send for ProofGammaDto
impl Sync for ProofGammaDto
impl Unpin for ProofGammaDto
impl UnwindSafe for ProofGammaDto
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