#[non_exhaustive]pub struct ChatKitSessionRateLimitOverrides {
pub max_requests_per_1_minute: Option<u64>,
}Expand description
EN: ChatKit session rate limit overrides. 中文:ChatKit session 速率限制覆盖。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_requests_per_1_minute: Option<u64>EN: Maximum requests per one minute. 中文:每一分钟最大请求数。
Implementations§
Source§impl ChatKitSessionRateLimitOverrides
impl ChatKitSessionRateLimitOverrides
Sourcepub fn max_requests_per_1_minute(self, max_requests_per_1_minute: u64) -> Self
pub fn max_requests_per_1_minute(self, max_requests_per_1_minute: u64) -> Self
EN: Sets the maximum requests per one minute. 中文:设置每一分钟最大请求数。
Trait Implementations§
Source§impl Clone for ChatKitSessionRateLimitOverrides
impl Clone for ChatKitSessionRateLimitOverrides
Source§fn clone(&self) -> ChatKitSessionRateLimitOverrides
fn clone(&self) -> ChatKitSessionRateLimitOverrides
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 Default for ChatKitSessionRateLimitOverrides
impl Default for ChatKitSessionRateLimitOverrides
Source§fn default() -> ChatKitSessionRateLimitOverrides
fn default() -> ChatKitSessionRateLimitOverrides
Returns the “default value” for a type. Read more
impl Eq for ChatKitSessionRateLimitOverrides
Source§impl PartialEq for ChatKitSessionRateLimitOverrides
impl PartialEq for ChatKitSessionRateLimitOverrides
Source§fn eq(&self, other: &ChatKitSessionRateLimitOverrides) -> bool
fn eq(&self, other: &ChatKitSessionRateLimitOverrides) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatKitSessionRateLimitOverrides
Auto Trait Implementations§
impl Freeze for ChatKitSessionRateLimitOverrides
impl RefUnwindSafe for ChatKitSessionRateLimitOverrides
impl Send for ChatKitSessionRateLimitOverrides
impl Sync for ChatKitSessionRateLimitOverrides
impl Unpin for ChatKitSessionRateLimitOverrides
impl UnsafeUnpin for ChatKitSessionRateLimitOverrides
impl UnwindSafe for ChatKitSessionRateLimitOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.