pub struct ResponseLimitsConfig {
pub max_ai_credits: Option<f64>,
}Expand description
Optional response limits.
Fields§
§max_ai_credits: Option<f64>Maximum AI Credits allowed while responding to one top-level user message.
Trait Implementations§
Source§impl Clone for ResponseLimitsConfig
impl Clone for ResponseLimitsConfig
Source§fn clone(&self) -> ResponseLimitsConfig
fn clone(&self) -> ResponseLimitsConfig
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 Debug for ResponseLimitsConfig
impl Debug for ResponseLimitsConfig
Source§impl Default for ResponseLimitsConfig
impl Default for ResponseLimitsConfig
Source§fn default() -> ResponseLimitsConfig
fn default() -> ResponseLimitsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseLimitsConfig
impl<'de> Deserialize<'de> for ResponseLimitsConfig
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 ResponseLimitsConfig
impl RefUnwindSafe for ResponseLimitsConfig
impl Send for ResponseLimitsConfig
impl Sync for ResponseLimitsConfig
impl Unpin for ResponseLimitsConfig
impl UnsafeUnpin for ResponseLimitsConfig
impl UnwindSafe for ResponseLimitsConfig
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