pub struct RateLimitStats {
pub active_limiters: usize,
pub banned_ips: usize,
pub total_violations: usize,
}Expand description
Rate limit statistics
Fields§
§active_limiters: usize§banned_ips: usize§total_violations: usizeTrait Implementations§
Source§impl Clone for RateLimitStats
impl Clone for RateLimitStats
Source§fn clone(&self) -> RateLimitStats
fn clone(&self) -> RateLimitStats
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 moreAuto Trait Implementations§
impl Freeze for RateLimitStats
impl RefUnwindSafe for RateLimitStats
impl Send for RateLimitStats
impl Sync for RateLimitStats
impl Unpin for RateLimitStats
impl UnwindSafe for RateLimitStats
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