pub struct CounterSnapshot {
pub successful: u64,
pub ok: u64,
pub accepts: u64,
}Expand description
Point-in-time snapshot of the rate counters.
Fields§
§successful: u64§ok: u64§accepts: u64Trait Implementations§
Source§impl Clone for CounterSnapshot
impl Clone for CounterSnapshot
Source§fn clone(&self) -> CounterSnapshot
fn clone(&self) -> CounterSnapshot
Returns a duplicate 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 CounterSnapshot
impl Debug for CounterSnapshot
Source§impl Default for CounterSnapshot
impl Default for CounterSnapshot
Source§fn default() -> CounterSnapshot
fn default() -> CounterSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for CounterSnapshot
impl PartialEq for CounterSnapshot
impl Copy for CounterSnapshot
impl Eq for CounterSnapshot
impl StructuralPartialEq for CounterSnapshot
Auto Trait Implementations§
impl Freeze for CounterSnapshot
impl RefUnwindSafe for CounterSnapshot
impl Send for CounterSnapshot
impl Sync for CounterSnapshot
impl Unpin for CounterSnapshot
impl UnsafeUnpin for CounterSnapshot
impl UnwindSafe for CounterSnapshot
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.