pub struct RealtimeServerEventRateLimitsUpdated_RateLimits {
pub name: Option<String>,
pub limit: Option<i64>,
pub remaining: Option<i64>,
pub reset_seconds: Option<f64>,
}
Fields§
§name: Option<String>
The name of the rate limit (requests
, tokens
).
limit: Option<i64>
The maximum allowed value for the rate limit.
remaining: Option<i64>
The remaining value before the limit is reached.
reset_seconds: Option<f64>
Seconds until the rate limit resets.
Trait Implementations§
Source§impl Clone for RealtimeServerEventRateLimitsUpdated_RateLimits
impl Clone for RealtimeServerEventRateLimitsUpdated_RateLimits
Source§fn clone(&self) -> RealtimeServerEventRateLimitsUpdated_RateLimits
fn clone(&self) -> RealtimeServerEventRateLimitsUpdated_RateLimits
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 moreSource§impl Default for RealtimeServerEventRateLimitsUpdated_RateLimits
impl Default for RealtimeServerEventRateLimitsUpdated_RateLimits
Source§fn default() -> RealtimeServerEventRateLimitsUpdated_RateLimits
fn default() -> RealtimeServerEventRateLimitsUpdated_RateLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventRateLimitsUpdated_RateLimits
impl RefUnwindSafe for RealtimeServerEventRateLimitsUpdated_RateLimits
impl Send for RealtimeServerEventRateLimitsUpdated_RateLimits
impl Sync for RealtimeServerEventRateLimitsUpdated_RateLimits
impl Unpin for RealtimeServerEventRateLimitsUpdated_RateLimits
impl UnwindSafe for RealtimeServerEventRateLimitsUpdated_RateLimits
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