pub enum NnsProposalVote {
Unspecified,
Yes,
No,
}Expand description
NnsProposalVote
Native NNS Governance ballot vote.
Variants§
Unspecified
Unspecified or unrecognized native vote code.
Yes
Affirmative ballot.
No
Negative ballot.
Implementations§
Trait Implementations§
Source§impl Clone for NnsProposalVote
impl Clone for NnsProposalVote
Source§fn clone(&self) -> NnsProposalVote
fn clone(&self) -> NnsProposalVote
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 NnsProposalVote
Source§impl Debug for NnsProposalVote
impl Debug for NnsProposalVote
Source§impl<'de> Deserialize<'de> for NnsProposalVote
impl<'de> Deserialize<'de> for NnsProposalVote
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
impl Eq for NnsProposalVote
Source§impl PartialEq for NnsProposalVote
impl PartialEq for NnsProposalVote
Source§impl Serialize for NnsProposalVote
impl Serialize for NnsProposalVote
impl StructuralPartialEq for NnsProposalVote
Auto Trait Implementations§
impl Freeze for NnsProposalVote
impl RefUnwindSafe for NnsProposalVote
impl Send for NnsProposalVote
impl Sync for NnsProposalVote
impl Unpin for NnsProposalVote
impl UnsafeUnpin for NnsProposalVote
impl UnwindSafe for NnsProposalVote
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