pub struct RestApiRateLimit {
pub rate_limit_type: RateLimitType,
pub interval: Interval,
pub interval_num: u32,
pub count: u32,
pub retry_after: Option<u32>,
}Fields§
§rate_limit_type: RateLimitType§interval: Interval§interval_num: u32§count: u32§retry_after: Option<u32>Trait Implementations§
Source§impl Clone for RestApiRateLimit
impl Clone for RestApiRateLimit
Source§fn clone(&self) -> RestApiRateLimit
fn clone(&self) -> RestApiRateLimit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RestApiRateLimit
impl RefUnwindSafe for RestApiRateLimit
impl Send for RestApiRateLimit
impl Sync for RestApiRateLimit
impl Unpin for RestApiRateLimit
impl UnwindSafe for RestApiRateLimit
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