pub struct Proof<E: Curve> {
pub ch: Scalar<E>,
pub res: Scalar<E>,
}
Expand description
Proof data, sent by prover to the verifier
Fields§
§ch: Scalar<E>
Deterministic challenge
res: Scalar<E>
Proof itself
Trait Implementations§
Source§impl<'de, E: Curve> Deserialize<'de> for Proof<E>
impl<'de, E: Curve> Deserialize<'de> for Proof<E>
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
impl<E: Copy + Curve> Copy for Proof<E>
Auto Trait Implementations§
impl<E> Freeze for Proof<E>
impl<E> RefUnwindSafe for Proof<E>
impl<E> Send for Proof<E>
impl<E> Sync for Proof<E>
impl<E> Unpin for Proof<E>
impl<E> UnwindSafe for Proof<E>
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