pub enum ElectionVote {
Granted,
Against,
Abstained,
}Variants§
Trait Implementations§
Source§impl Clone for ElectionVote
impl Clone for ElectionVote
Source§fn clone(&self) -> ElectionVote
fn clone(&self) -> ElectionVote
Returns a duplicate 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 ElectionVote
impl Debug for ElectionVote
Source§impl<'de> Deserialize<'de> for ElectionVote
impl<'de> Deserialize<'de> for ElectionVote
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 for ElectionVote
impl PartialEq for ElectionVote
Source§impl Serialize for ElectionVote
impl Serialize for ElectionVote
impl Copy for ElectionVote
impl Eq for ElectionVote
impl StructuralPartialEq for ElectionVote
Auto Trait Implementations§
impl Freeze for ElectionVote
impl RefUnwindSafe for ElectionVote
impl Send for ElectionVote
impl Sync for ElectionVote
impl Unpin for ElectionVote
impl UnwindSafe for ElectionVote
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