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