pub enum NnsProposalStatus {
Unspecified,
Open,
Rejected,
Adopted,
Executed,
Failed,
}Expand description
NnsProposalStatus
Native NNS Governance proposal decision status.
Variants§
Unspecified
Unspecified or unrecognized native status code.
Open
Proposal remains open for voting.
Rejected
Proposal was rejected.
Adopted
Proposal was adopted but has not completed execution.
Executed
Proposal executed successfully.
Failed
Proposal execution failed.
Implementations§
Trait Implementations§
Source§impl Clone for NnsProposalStatus
impl Clone for NnsProposalStatus
Source§fn clone(&self) -> NnsProposalStatus
fn clone(&self) -> NnsProposalStatus
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 NnsProposalStatus
Source§impl Debug for NnsProposalStatus
impl Debug for NnsProposalStatus
Source§impl<'de> Deserialize<'de> for NnsProposalStatus
impl<'de> Deserialize<'de> for NnsProposalStatus
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 NnsProposalStatus
Source§impl PartialEq for NnsProposalStatus
impl PartialEq for NnsProposalStatus
Source§impl Serialize for NnsProposalStatus
impl Serialize for NnsProposalStatus
impl StructuralPartialEq for NnsProposalStatus
Auto Trait Implementations§
impl Freeze for NnsProposalStatus
impl RefUnwindSafe for NnsProposalStatus
impl Send for NnsProposalStatus
impl Sync for NnsProposalStatus
impl Unpin for NnsProposalStatus
impl UnsafeUnpin for NnsProposalStatus
impl UnwindSafe for NnsProposalStatus
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