pub enum SnsProposalDecisionState {
Open,
Decided,
Executed,
Failed,
}Expand description
SnsProposalDecisionState
Derived lifecycle state for one SNS Governance proposal.
Variants§
Open
The proposal has not reached a decision.
Decided
The proposal was decided without an execution or failure timestamp.
Executed
The proposal has an execution timestamp.
Failed
The proposal has a failure timestamp.
Implementations§
Trait Implementations§
Source§impl Clone for SnsProposalDecisionState
impl Clone for SnsProposalDecisionState
Source§fn clone(&self) -> SnsProposalDecisionState
fn clone(&self) -> SnsProposalDecisionState
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 SnsProposalDecisionState
Source§impl Debug for SnsProposalDecisionState
impl Debug for SnsProposalDecisionState
Source§impl<'de> Deserialize<'de> for SnsProposalDecisionState
impl<'de> Deserialize<'de> for SnsProposalDecisionState
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 SnsProposalDecisionState
Source§impl Ord for SnsProposalDecisionState
impl Ord for SnsProposalDecisionState
Source§fn cmp(&self, other: &SnsProposalDecisionState) -> Ordering
fn cmp(&self, other: &SnsProposalDecisionState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SnsProposalDecisionState
impl PartialEq for SnsProposalDecisionState
Source§impl PartialOrd for SnsProposalDecisionState
impl PartialOrd for SnsProposalDecisionState
Source§impl Serialize for SnsProposalDecisionState
impl Serialize for SnsProposalDecisionState
impl StructuralPartialEq for SnsProposalDecisionState
Auto Trait Implementations§
impl Freeze for SnsProposalDecisionState
impl RefUnwindSafe for SnsProposalDecisionState
impl Send for SnsProposalDecisionState
impl Sync for SnsProposalDecisionState
impl Unpin for SnsProposalDecisionState
impl UnsafeUnpin for SnsProposalDecisionState
impl UnwindSafe for SnsProposalDecisionState
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