pub enum NnsProposalRewardStatus {
Unspecified,
AcceptVotes,
ReadyToSettle,
Settled,
Ineligible,
}Expand description
NnsProposalRewardStatus
Native NNS Governance proposal reward-settlement status.
Variants§
Unspecified
Unspecified or unrecognized native reward-status code.
AcceptVotes
Proposal still accepts votes for reward purposes.
ReadyToSettle
Proposal is ready for reward settlement.
Settled
Proposal rewards have settled.
Ineligible
Proposal is not eligible for voting rewards.
Implementations§
Trait Implementations§
Source§impl Clone for NnsProposalRewardStatus
impl Clone for NnsProposalRewardStatus
Source§fn clone(&self) -> NnsProposalRewardStatus
fn clone(&self) -> NnsProposalRewardStatus
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 NnsProposalRewardStatus
Source§impl Debug for NnsProposalRewardStatus
impl Debug for NnsProposalRewardStatus
Source§impl<'de> Deserialize<'de> for NnsProposalRewardStatus
impl<'de> Deserialize<'de> for NnsProposalRewardStatus
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 NnsProposalRewardStatus
Source§impl PartialEq for NnsProposalRewardStatus
impl PartialEq for NnsProposalRewardStatus
Source§impl Serialize for NnsProposalRewardStatus
impl Serialize for NnsProposalRewardStatus
impl StructuralPartialEq for NnsProposalRewardStatus
Auto Trait Implementations§
impl Freeze for NnsProposalRewardStatus
impl RefUnwindSafe for NnsProposalRewardStatus
impl Send for NnsProposalRewardStatus
impl Sync for NnsProposalRewardStatus
impl Unpin for NnsProposalRewardStatus
impl UnsafeUnpin for NnsProposalRewardStatus
impl UnwindSafe for NnsProposalRewardStatus
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