pub struct VrfProofBuilder { /* private fields */ }
Expand description
Verfiable random function proof.
Implementations§
Source§impl VrfProofBuilder
impl VrfProofBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of VrfProofBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A VrfProofBuilder.
Sourcepub fn get_gamma(&self) -> ProofGammaDto
pub fn get_gamma(&self) -> ProofGammaDto
Sourcepub fn get_verification_hash(&self) -> ProofVerificationHashDto
pub fn get_verification_hash(&self) -> ProofVerificationHashDto
Sourcepub fn get_scalar(&self) -> ProofScalarDto
pub fn get_scalar(&self) -> ProofScalarDto
Trait Implementations§
Source§impl Clone for VrfProofBuilder
impl Clone for VrfProofBuilder
Source§fn clone(&self) -> VrfProofBuilder
fn clone(&self) -> VrfProofBuilder
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 moreAuto Trait Implementations§
impl Freeze for VrfProofBuilder
impl RefUnwindSafe for VrfProofBuilder
impl Send for VrfProofBuilder
impl Sync for VrfProofBuilder
impl Unpin for VrfProofBuilder
impl UnwindSafe for VrfProofBuilder
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