pub struct SerializableProof {
pub c_l: AffinePoint,
pub c_r: AffinePoint,
pub c_o: AffinePoint,
pub c_s: AffinePoint,
pub r: Vec<AffinePoint>,
pub x: Vec<AffinePoint>,
pub l: Vec<Scalar>,
pub n: Vec<Scalar>,
}
Expand description
Represent serializable version of arithmetic circuit proof (uses AffinePoint instead of ProjectivePoint).
Fields§
§c_l: AffinePoint
§c_r: AffinePoint
§c_o: AffinePoint
§c_s: AffinePoint
§r: Vec<AffinePoint>
§x: Vec<AffinePoint>
§l: Vec<Scalar>
§n: Vec<Scalar>
Trait Implementations§
Source§impl Clone for SerializableProof
impl Clone for SerializableProof
Source§fn clone(&self) -> SerializableProof
fn clone(&self) -> SerializableProof
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 moreSource§impl Debug for SerializableProof
impl Debug for SerializableProof
Source§impl<'de> Deserialize<'de> for SerializableProof
impl<'de> Deserialize<'de> for SerializableProof
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 From<&Proof> for SerializableProof
impl From<&Proof> for SerializableProof
Source§impl From<&SerializableProof> for Proof
impl From<&SerializableProof> for Proof
Source§fn from(value: &SerializableProof) -> Self
fn from(value: &SerializableProof) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SerializableProof
impl RefUnwindSafe for SerializableProof
impl Send for SerializableProof
impl Sync for SerializableProof
impl Unpin for SerializableProof
impl UnwindSafe for SerializableProof
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