pub struct Witness {
pub secret_key: Vec<u8>,
pub nonce_scalar: Vec<u8>,
}Expand description
Witness data for proof generation (private inputs).
Fields§
§secret_key: Vec<u8>§nonce_scalar: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Witness
impl RefUnwindSafe for Witness
impl Send for Witness
impl Sync for Witness
impl Unpin for Witness
impl UnsafeUnpin for Witness
impl UnwindSafe for Witness
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