pub struct RateLimitStats {
pub tracked_ips: usize,
pub active_connections: usize,
}Expand description
Rate limiting statistics
Fields§
§tracked_ips: usizeNumber of IPs being tracked for requests
active_connections: usizeNumber of IPs with active connections
Trait 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