pub struct NnsProposalRewardStatusCount {
pub reward_status: i32,
pub reward_status_text: NnsProposalRewardStatus,
pub proposal_count: u64,
}Expand description
NnsProposalRewardStatusCount
Proposal count for one raw native Governance reward-status code.
Fields§
§reward_status: i32Raw native Governance reward-status code.
reward_status_text: NnsProposalRewardStatusClassification derived from the raw reward-status code.
proposal_count: u64Number of included proposals with this reward-status code.
Trait Implementations§
Source§impl Clone for NnsProposalRewardStatusCount
impl Clone for NnsProposalRewardStatusCount
Source§fn clone(&self) -> NnsProposalRewardStatusCount
fn clone(&self) -> NnsProposalRewardStatusCount
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 moreSource§impl Debug for NnsProposalRewardStatusCount
impl Debug for NnsProposalRewardStatusCount
Source§impl<'de> Deserialize<'de> for NnsProposalRewardStatusCount
impl<'de> Deserialize<'de> for NnsProposalRewardStatusCount
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 NnsProposalRewardStatusCount
impl StructuralPartialEq for NnsProposalRewardStatusCount
Auto Trait Implementations§
impl Freeze for NnsProposalRewardStatusCount
impl RefUnwindSafe for NnsProposalRewardStatusCount
impl Send for NnsProposalRewardStatusCount
impl Sync for NnsProposalRewardStatusCount
impl Unpin for NnsProposalRewardStatusCount
impl UnsafeUnpin for NnsProposalRewardStatusCount
impl UnwindSafe for NnsProposalRewardStatusCount
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