pub struct Pace {
pub expected: f64,
pub delta: f64,
pub standing: Standing,
}Expand description
How a limit’s use compared with an even pace when it was read.
Fields§
§expected: f64The share an even use would have reached when the limit was read, in percent of the limit: the part of the window gone by then.
delta: f64The share used less expected, in percentage points. Above zero is faster than an
even pace.
standing: StandingTrait Implementations§
impl Copy for Pace
impl StructuralPartialEq for Pace
Auto Trait Implementations§
impl Freeze for Pace
impl RefUnwindSafe for Pace
impl Send for Pace
impl Sync for Pace
impl Unpin for Pace
impl UnsafeUnpin for Pace
impl UnwindSafe for Pace
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