pub enum Vote {
Accept,
Reject,
}Expand description
Voting structures and functions for an election An instruction to either accept or reject a vote
Variants§
Trait Implementations§
Source§impl BorshDeserialize for Vote
impl BorshDeserialize for Vote
Source§impl BorshSerialize for Vote
impl BorshSerialize for Vote
Source§impl Ord for Vote
impl Ord for Vote
Source§impl PartialOrd for Vote
impl PartialOrd for Vote
impl Copy for Vote
impl Eq for Vote
impl StructuralPartialEq for Vote
Auto Trait Implementations§
impl Freeze for Vote
impl RefUnwindSafe for Vote
impl Send for Vote
impl Sync for Vote
impl Unpin for Vote
impl UnwindSafe for Vote
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