pub struct Tier {
pub requests: u64,
pub period_in_millis: u64,
}Expand description
The limits associated to a ApiSla
Fields§
§requests: u64Number of requests allowed on a given time.
period_in_millis: u64Time in which the requests are tracked.
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