pub struct AbuseStats {
pub burst: usize,
pub route_quota: usize,
pub global: usize,
}Expand description
Counts of refused requests since the process started.
Fields§
§burst: usizeRefused by the burst limit.
route_quota: usizeRefused by a route quota.
global: usizeShed by the global limit.
Trait Implementations§
Source§impl Clone for AbuseStats
impl Clone for AbuseStats
impl Copy for AbuseStats
Source§impl Debug for AbuseStats
impl Debug for AbuseStats
Source§impl Default for AbuseStats
impl Default for AbuseStats
impl Eq for AbuseStats
Source§impl PartialEq for AbuseStats
impl PartialEq for AbuseStats
impl StructuralPartialEq for AbuseStats
Auto Trait Implementations§
impl Forget for AbuseStats
impl Freeze for AbuseStats
impl RefUnwindSafe for AbuseStats
impl Send for AbuseStats
impl Sync for AbuseStats
impl Unpin for AbuseStats
impl UnsafeUnpin for AbuseStats
impl UnwindSafe for AbuseStats
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.