pub struct RateLimiterStats {
pub active_operations: usize,
pub requests_last_minute: usize,
pub max_per_minute: usize,
pub max_concurrent: usize,
}Expand description
Statistics about the rate limiter
Fields§
§active_operations: usize§requests_last_minute: usize§max_per_minute: usize§max_concurrent: usizeTrait Implementations§
Source§impl Clone for RateLimiterStats
impl Clone for RateLimiterStats
Source§fn clone(&self) -> RateLimiterStats
fn clone(&self) -> RateLimiterStats
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 RateLimiterStats
impl RefUnwindSafe for RateLimiterStats
impl Send for RateLimiterStats
impl Sync for RateLimiterStats
impl Unpin for RateLimiterStats
impl UnsafeUnpin for RateLimiterStats
impl UnwindSafe for RateLimiterStats
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