pub struct RealtimeServerEventRateLimitsUpdatedRateLimits {
pub limit: Option<i32>,
pub name: Option<String>,
pub remaining: Option<i32>,
pub reset_seconds: Option<f32>,
}
Fields§
§limit: Option<i32>
The maximum allowed value for the rate limit.
name: Option<String>
The name of the rate limit (requests
, tokens
).
remaining: Option<i32>
The remaining value before the limit is reached.
reset_seconds: Option<f32>
Seconds until the rate limit resets.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeServerEventRateLimitsUpdatedRateLimits
impl<'de> Deserialize<'de> for RealtimeServerEventRateLimitsUpdatedRateLimits
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 RealtimeServerEventRateLimitsUpdatedRateLimits
impl RefUnwindSafe for RealtimeServerEventRateLimitsUpdatedRateLimits
impl Send for RealtimeServerEventRateLimitsUpdatedRateLimits
impl Sync for RealtimeServerEventRateLimitsUpdatedRateLimits
impl Unpin for RealtimeServerEventRateLimitsUpdatedRateLimits
impl UnwindSafe for RealtimeServerEventRateLimitsUpdatedRateLimits
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