pub struct PedersenWitness {
pub value: Scalar,
pub randomness: Scalar,
}Expand description
Private witness for Pedersen commitment proof.
Contains the committed value and the randomness used.
Fields§
§value: Scalar§randomness: ScalarTrait Implementations§
Source§impl Clone for PedersenWitness
impl Clone for PedersenWitness
Source§fn clone(&self) -> PedersenWitness
fn clone(&self) -> PedersenWitness
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 PedersenWitness
impl RefUnwindSafe for PedersenWitness
impl Send for PedersenWitness
impl Sync for PedersenWitness
impl Unpin for PedersenWitness
impl UnwindSafe for PedersenWitness
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