pub struct ToolChoiceTypes {
pub _type: String,
}
Fields§
§_type: String
The type of hosted tool the model should to use. Learn more about built-in tools. Allowed values are: - file_search
- web_search_preview
- computer_use_preview
Trait Implementations§
Source§impl Debug for ToolChoiceTypes
impl Debug for ToolChoiceTypes
Source§impl<'de> Deserialize<'de> for ToolChoiceTypes
impl<'de> Deserialize<'de> for ToolChoiceTypes
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 ToolChoiceTypes
impl RefUnwindSafe for ToolChoiceTypes
impl Send for ToolChoiceTypes
impl Sync for ToolChoiceTypes
impl Unpin for ToolChoiceTypes
impl UnwindSafe for ToolChoiceTypes
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