pub struct RateLimitUpdate {
pub status: RateLimitStatus,
pub resets_at: Option<f64>,
pub utilization: Option<f64>,
pub rate_limit_type: Option<String>,
pub overage_status: Option<RateLimitStatus>,
pub overage_resets_at: Option<f64>,
pub overage_disabled_reason: Option<String>,
pub is_using_overage: Option<bool>,
pub surpassed_threshold: Option<f64>,
}Fields§
§status: RateLimitStatus§resets_at: Option<f64>§utilization: Option<f64>§rate_limit_type: Option<String>§overage_status: Option<RateLimitStatus>§overage_resets_at: Option<f64>§overage_disabled_reason: Option<String>§is_using_overage: Option<bool>§surpassed_threshold: Option<f64>Trait Implementations§
Source§impl Clone for RateLimitUpdate
impl Clone for RateLimitUpdate
Source§impl Debug for RateLimitUpdate
impl Debug for RateLimitUpdate
Source§impl<'de> Deserialize<'de> for RateLimitUpdate
impl<'de> Deserialize<'de> for RateLimitUpdate
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
Source§impl PartialEq for RateLimitUpdate
impl PartialEq for RateLimitUpdate
Source§impl Serialize for RateLimitUpdate
impl Serialize for RateLimitUpdate
impl StructuralPartialEq for RateLimitUpdate
Auto Trait Implementations§
impl Freeze for RateLimitUpdate
impl RefUnwindSafe for RateLimitUpdate
impl Send for RateLimitUpdate
impl Sync for RateLimitUpdate
impl Unpin for RateLimitUpdate
impl UnsafeUnpin for RateLimitUpdate
impl UnwindSafe for RateLimitUpdate
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