pub struct AccountRateLimitsUpdatedNotification {
pub rate_limits: RateLimitSnapshot,
}Expand description
Sparse rolling rate-limit update.
Clients should merge available values into the most recent account/rateLimits/read response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.
JSON schema
{
"title": "AccountRateLimitsUpdatedNotification",
"description": "Sparse rolling rate-limit update.\n\nClients should merge available values into the most recent `account/rateLimits/read` response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.",
"type": "object",
"required": [
"rateLimits"
],
"properties": {
"rateLimits": {
"$ref": "#/definitions/RateLimitSnapshot"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§rate_limits: RateLimitSnapshotTrait Implementations§
Source§impl Clone for AccountRateLimitsUpdatedNotification
impl Clone for AccountRateLimitsUpdatedNotification
Source§fn clone(&self) -> AccountRateLimitsUpdatedNotification
fn clone(&self) -> AccountRateLimitsUpdatedNotification
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<'de> Deserialize<'de> for AccountRateLimitsUpdatedNotification
impl<'de> Deserialize<'de> for AccountRateLimitsUpdatedNotification
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 From<AccountRateLimitsUpdatedNotification> for ServerNotification
impl From<AccountRateLimitsUpdatedNotification> for ServerNotification
Source§fn from(value: AccountRateLimitsUpdatedNotification) -> Self
fn from(value: AccountRateLimitsUpdatedNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountRateLimitsUpdatedNotification
impl RefUnwindSafe for AccountRateLimitsUpdatedNotification
impl Send for AccountRateLimitsUpdatedNotification
impl Sync for AccountRateLimitsUpdatedNotification
impl Unpin for AccountRateLimitsUpdatedNotification
impl UnsafeUnpin for AccountRateLimitsUpdatedNotification
impl UnwindSafe for AccountRateLimitsUpdatedNotification
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