pub struct ProposalCount {
pub pending: u32,
pub handled: u32,
}
Fields§
§pending: u32
§handled: u32
Trait Implementations§
source§impl Clone for ProposalCount
impl Clone for ProposalCount
source§fn clone(&self) -> ProposalCount
fn clone(&self) -> ProposalCount
Returns a copy of the value. Read more
1.0.0 · 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 ProposalCount
impl Debug for ProposalCount
source§impl<'de> Deserialize<'de> for ProposalCount
impl<'de> Deserialize<'de> for ProposalCount
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
source§impl PartialEq for ProposalCount
impl PartialEq for ProposalCount
source§fn eq(&self, other: &ProposalCount) -> bool
fn eq(&self, other: &ProposalCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ProposalCount
impl Serialize for ProposalCount
impl Eq for ProposalCount
impl StructuralEq for ProposalCount
impl StructuralPartialEq for ProposalCount
Auto Trait Implementations§
impl RefUnwindSafe for ProposalCount
impl Send for ProposalCount
impl Sync for ProposalCount
impl Unpin for ProposalCount
impl UnwindSafe for ProposalCount
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.