pub struct RateQuota {
pub max_burst: i64,
pub max_rate: Rate,
}
Fields§
§max_burst: i64
§max_rate: Rate
Trait Implementations§
impl StructuralPartialEq for RateQuota
Auto Trait Implementations§
impl Freeze for RateQuota
impl RefUnwindSafe for RateQuota
impl Send for RateQuota
impl Sync for RateQuota
impl Unpin for RateQuota
impl UnwindSafe for RateQuota
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