pub struct ProposalStats {
pub accepted: u64,
pub rejected: u64,
pub pending: u64,
pub acceptance_rate: Option<f64>,
}Expand description
C2 — proposal acceptance funnel.
Fields§
§accepted: u64§rejected: u64§pending: u64§acceptance_rate: Option<f64>accepted / (accepted + rejected); None when denom == 0.
Trait Implementations§
Source§impl Clone for ProposalStats
impl Clone for ProposalStats
Source§fn clone(&self) -> ProposalStats
fn clone(&self) -> ProposalStats
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 ProposalStats
impl Debug for ProposalStats
Auto Trait Implementations§
impl Freeze for ProposalStats
impl RefUnwindSafe for ProposalStats
impl Send for ProposalStats
impl Sync for ProposalStats
impl Unpin for ProposalStats
impl UnsafeUnpin for ProposalStats
impl UnwindSafe for ProposalStats
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