pub enum NnsNeuronVote {
Unspecified,
Yes,
No,
Unknown(i32),
}Expand description
NnsNeuronVote
Native NNS Governance neuron-ballot vote with unrecognized codes retained.
Variants§
Unspecified
Governance supplied the unspecified vote code.
Yes
Affirmative ballot.
No
Negative ballot.
Unknown(i32)
Governance supplied an unrecognized native code.
Implementations§
Trait Implementations§
Source§impl Clone for NnsNeuronVote
impl Clone for NnsNeuronVote
Source§fn clone(&self) -> NnsNeuronVote
fn clone(&self) -> NnsNeuronVote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NnsNeuronVote
Source§impl Debug for NnsNeuronVote
impl Debug for NnsNeuronVote
Source§impl Display for NnsNeuronVote
impl Display for NnsNeuronVote
impl Eq for NnsNeuronVote
Source§impl PartialEq for NnsNeuronVote
impl PartialEq for NnsNeuronVote
Source§impl Serialize for NnsNeuronVote
impl Serialize for NnsNeuronVote
impl StructuralPartialEq for NnsNeuronVote
Auto Trait Implementations§
impl Freeze for NnsNeuronVote
impl RefUnwindSafe for NnsNeuronVote
impl Send for NnsNeuronVote
impl Sync for NnsNeuronVote
impl Unpin for NnsNeuronVote
impl UnsafeUnpin for NnsNeuronVote
impl UnwindSafe for NnsNeuronVote
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