pub struct RateClassState {
pub name: String,
pub tokens_available: i64,
pub burst: i64,
pub limit_per_window: i64,
pub window_ms: i64,
pub jobs_waiting: i64,
pub paused: bool,
}Fields§
§name: String§tokens_available: i64§burst: i64§limit_per_window: i64§window_ms: i64§jobs_waiting: i64§paused: boolAuto Trait Implementations§
impl Freeze for RateClassState
impl RefUnwindSafe for RateClassState
impl Send for RateClassState
impl Sync for RateClassState
impl Unpin for RateClassState
impl UnsafeUnpin for RateClassState
impl UnwindSafe for RateClassState
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