pub struct PedersenStatement {
pub g: RistrettoPoint,
pub h: RistrettoPoint,
pub commitment: RistrettoPoint,
}Expand description
Public statement for Pedersen commitment proof.
Contains the two base points and the commitment.
Fields§
§g: RistrettoPoint§h: RistrettoPoint§commitment: RistrettoPointTrait Implementations§
Source§impl Clone for PedersenStatement
impl Clone for PedersenStatement
Source§fn clone(&self) -> PedersenStatement
fn clone(&self) -> PedersenStatement
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 PedersenStatement
impl RefUnwindSafe for PedersenStatement
impl Send for PedersenStatement
impl Sync for PedersenStatement
impl Unpin for PedersenStatement
impl UnwindSafe for PedersenStatement
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