pub struct ToolModelSettings {
pub model: String,
pub max_output_tokens: Option<u32>,
}Fields§
§model: String§max_output_tokens: Option<u32>Trait Implementations§
Source§impl Clone for ToolModelSettings
impl Clone for ToolModelSettings
Source§fn clone(&self) -> ToolModelSettings
fn clone(&self) -> ToolModelSettings
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 ToolModelSettings
impl Debug for ToolModelSettings
Source§impl Default for ToolModelSettings
impl Default for ToolModelSettings
Source§fn default() -> ToolModelSettings
fn default() -> ToolModelSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolModelSettings
impl<'de> Deserialize<'de> for ToolModelSettings
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 ToolModelSettings
impl RefUnwindSafe for ToolModelSettings
impl Send for ToolModelSettings
impl Sync for ToolModelSettings
impl Unpin for ToolModelSettings
impl UnwindSafe for ToolModelSettings
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