Struct chain_vote::cryptography::zkps::unit_vector::messages::Announcement
source · pub struct Announcement {
pub(crate) i: GroupElement,
pub(crate) b: GroupElement,
pub(crate) a: GroupElement,
}
Expand description
First announcement, formed by I, B, A group elements. These group elements are the commitments of the binary representation of the unit vector index.
Fields§
§i: GroupElement
§b: GroupElement
§a: GroupElement
Implementations§
Trait Implementations§
source§impl Clone for Announcement
impl Clone for Announcement
source§fn clone(&self) -> Announcement
fn clone(&self) -> Announcement
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 Announcement
impl Debug for Announcement
source§impl Hash for Announcement
impl Hash for Announcement
source§impl PartialEq<Announcement> for Announcement
impl PartialEq<Announcement> for Announcement
source§fn eq(&self, other: &Announcement) -> bool
fn eq(&self, other: &Announcement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Announcement
impl StructuralEq for Announcement
impl StructuralPartialEq for Announcement
Auto Trait Implementations§
impl RefUnwindSafe for Announcement
impl Send for Announcement
impl Sync for Announcement
impl Unpin for Announcement
impl UnwindSafe for Announcement
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