pub struct Tier { /* private fields */ }Expand description
Tier represents a rate limiting tier with specific limits
Implementations§
Source§impl Tier
impl Tier
Sourcepub fn get_window(&self) -> Window
pub fn get_window(&self) -> Window
Get the window
Sourcepub fn get_strategy(&self) -> Strategy
pub fn get_strategy(&self) -> Strategy
Get the strategy
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnwindSafe for Tier
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