pub struct ECVRFProof {
pub gamma: AffinePoint,
pub c: Scalar,
pub s: Scalar,
pub y: Scalar,
pub pk: PublicKey,
}Expand description
EC-VRF proof
Fields§
§gamma: AffinePointgamma
c: Scalarc
s: Scalars
y: Scalary is the result
pk: PublicKeyPublic key
Trait Implementations§
Source§impl Clone for ECVRFProof
impl Clone for ECVRFProof
Source§fn clone(&self) -> ECVRFProof
fn clone(&self) -> ECVRFProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ECVRFProof
impl Debug for ECVRFProof
Source§impl<'de> Deserialize<'de> for ECVRFProof
impl<'de> Deserialize<'de> for ECVRFProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ECVRFProof
impl PartialEq for ECVRFProof
Source§fn eq(&self, other: &ECVRFProof) -> bool
fn eq(&self, other: &ECVRFProof) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ECVRFProof
impl Serialize for ECVRFProof
impl Eq for ECVRFProof
impl StructuralPartialEq for ECVRFProof
Auto Trait Implementations§
impl Freeze for ECVRFProof
impl RefUnwindSafe for ECVRFProof
impl Send for ECVRFProof
impl Sync for ECVRFProof
impl Unpin for ECVRFProof
impl UnsafeUnpin for ECVRFProof
impl UnwindSafe for ECVRFProof
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