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
Auto Trait Implementations§
impl Freeze for PedersenWitness
impl RefUnwindSafe for PedersenWitness
impl Send for PedersenWitness
impl Sync for PedersenWitness
impl Unpin for PedersenWitness
impl UnsafeUnpin 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