Struct chain_vote::cryptography::zkps::unit_vector::messages::ResponseRandomness
source · pub struct ResponseRandomness {
pub(crate) z: Scalar,
pub(crate) w: Scalar,
pub(crate) v: Scalar,
}
Expand description
Response encoding the bits of the private vector, and the randomness of BlindingRandomness
.
Fields§
§z: Scalar
§w: Scalar
§v: Scalar
Implementations§
Trait Implementations§
source§impl Clone for ResponseRandomness
impl Clone for ResponseRandomness
source§fn clone(&self) -> ResponseRandomness
fn clone(&self) -> ResponseRandomness
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 ResponseRandomness
impl Debug for ResponseRandomness
source§impl Hash for ResponseRandomness
impl Hash for ResponseRandomness
source§impl PartialEq<ResponseRandomness> for ResponseRandomness
impl PartialEq<ResponseRandomness> for ResponseRandomness
source§fn eq(&self, other: &ResponseRandomness) -> bool
fn eq(&self, other: &ResponseRandomness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResponseRandomness
impl StructuralEq for ResponseRandomness
impl StructuralPartialEq for ResponseRandomness
Auto Trait Implementations§
impl RefUnwindSafe for ResponseRandomness
impl Send for ResponseRandomness
impl Sync for ResponseRandomness
impl Unpin for ResponseRandomness
impl UnwindSafe for ResponseRandomness
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