pub struct RateLimitResetTimes {
pub requests_reset_minute: DateTime<Utc>,
pub requests_reset_hour: DateTime<Utc>,
pub tokens_reset_minute: DateTime<Utc>,
}Expand description
Rate limit reset times
Fields§
§requests_reset_minute: DateTime<Utc>§requests_reset_hour: DateTime<Utc>§tokens_reset_minute: DateTime<Utc>Trait Implementations§
Source§impl Clone for RateLimitResetTimes
impl Clone for RateLimitResetTimes
Source§fn clone(&self) -> RateLimitResetTimes
fn clone(&self) -> RateLimitResetTimes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RateLimitResetTimes
impl Debug for RateLimitResetTimes
Source§impl<'de> Deserialize<'de> for RateLimitResetTimes
impl<'de> Deserialize<'de> for RateLimitResetTimes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RateLimitResetTimes
impl RefUnwindSafe for RateLimitResetTimes
impl Send for RateLimitResetTimes
impl Sync for RateLimitResetTimes
impl Unpin for RateLimitResetTimes
impl UnsafeUnpin for RateLimitResetTimes
impl UnwindSafe for RateLimitResetTimes
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