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