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