pub struct QuotaState {
pub window_start: i64,
pub ops: u32,
pub bytes: u64,
}Expand description
Usage recorded in the current window.
Fields§
§window_start: i64Window start, Unix epoch milliseconds.
ops: u32Operations counted so far.
bytes: u64Bytes counted so far.
Trait Implementations§
Source§impl Clone for QuotaState
impl Clone for QuotaState
impl Copy for QuotaState
Source§impl Debug for QuotaState
impl Debug for QuotaState
impl Eq for QuotaState
Source§impl PartialEq for QuotaState
impl PartialEq for QuotaState
impl StructuralPartialEq for QuotaState
Auto Trait Implementations§
impl Freeze for QuotaState
impl RefUnwindSafe for QuotaState
impl Send for QuotaState
impl Sync for QuotaState
impl Unpin for QuotaState
impl UnsafeUnpin for QuotaState
impl UnwindSafe for QuotaState
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