pub enum ValidatedPayload {
Public(Choice),
Private(Ballot),
}
Variants§
Trait Implementations§
source§impl Clone for ValidatedPayload
impl Clone for ValidatedPayload
source§fn clone(&self) -> ValidatedPayload
fn clone(&self) -> ValidatedPayload
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 ValidatedPayload
impl Debug for ValidatedPayload
source§impl PartialEq<ValidatedPayload> for ValidatedPayload
impl PartialEq<ValidatedPayload> for ValidatedPayload
source§fn eq(&self, other: &ValidatedPayload) -> bool
fn eq(&self, other: &ValidatedPayload) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ValidatedPayload
impl StructuralEq for ValidatedPayload
impl StructuralPartialEq for ValidatedPayload
Auto Trait Implementations§
impl RefUnwindSafe for ValidatedPayload
impl Send for ValidatedPayload
impl Sync for ValidatedPayload
impl Unpin for ValidatedPayload
impl UnwindSafe for ValidatedPayload
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