Enum jormungandr_lib::interfaces::vote::Tally
source · pub enum Tally {
Public {
result: TallyResult,
},
Private {
state: PrivateTallyState,
},
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tally
impl<'de> Deserialize<'de> for Tally
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Tally> for Tally
impl PartialEq<Tally> for Tally
impl Eq for Tally
impl StructuralEq for Tally
impl StructuralPartialEq for Tally
Auto Trait Implementations§
impl RefUnwindSafe for Tally
impl Send for Tally
impl Sync for Tally
impl Unpin for Tally
impl UnwindSafe for Tally
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