pub struct ChatSessionRateLimits {
pub max_requests_per_1_minute: i32,
}Expand description
Active per-minute request limit for the session.
Fields§
§max_requests_per_1_minute: i32Maximum allowed requests per one-minute window.
Trait Implementations§
Source§impl Clone for ChatSessionRateLimits
impl Clone for ChatSessionRateLimits
Source§fn clone(&self) -> ChatSessionRateLimits
fn clone(&self) -> ChatSessionRateLimits
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 Debug for ChatSessionRateLimits
impl Debug for ChatSessionRateLimits
Source§impl<'de> Deserialize<'de> for ChatSessionRateLimits
impl<'de> Deserialize<'de> for ChatSessionRateLimits
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 ChatSessionRateLimits
impl PartialEq for ChatSessionRateLimits
Source§impl Serialize for ChatSessionRateLimits
impl Serialize for ChatSessionRateLimits
impl StructuralPartialEq for ChatSessionRateLimits
Auto Trait Implementations§
impl Freeze for ChatSessionRateLimits
impl RefUnwindSafe for ChatSessionRateLimits
impl Send for ChatSessionRateLimits
impl Sync for ChatSessionRateLimits
impl Unpin for ChatSessionRateLimits
impl UnwindSafe for ChatSessionRateLimits
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