pub struct Rate {
pub limit: u32,
pub remaining: u32,
pub reset: u64,
pub retry: u64,
}
Expand description
Represents the rate limit information returned by the API.
This struct contains the rate limit information returned by the API, including the number of requests allowed, the number of requests remaining, and the time at which the rate limit will reset.
Fields§
§limit: u32
§remaining: u32
§reset: u64
§retry: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rate
impl RefUnwindSafe for Rate
impl Send for Rate
impl Sync for Rate
impl Unpin for Rate
impl UnwindSafe for Rate
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