pub struct Rates {
pub events: f64,
pub amount: f64,
/* private fields */
}Expand description
What a RateMeter counted over one window, per second.
Fields§
§events: f64Events per second.
amount: f64The amount the events carried, per second.
Implementations§
Trait Implementations§
impl Copy for Rates
impl StructuralPartialEq for Rates
Auto Trait Implementations§
impl Freeze for Rates
impl RefUnwindSafe for Rates
impl Send for Rates
impl Sync for Rates
impl Unpin for Rates
impl UnsafeUnpin for Rates
impl UnwindSafe for Rates
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