pub struct ToolChoiceFunction {
pub name: String,
pub _type: String,
}
Fields§
§name: String
The name of the function to call.
_type: String
For function calling, the type is always function
.
Trait Implementations§
Source§impl Debug for ToolChoiceFunction
impl Debug for ToolChoiceFunction
Source§impl<'de> Deserialize<'de> for ToolChoiceFunction
impl<'de> Deserialize<'de> for ToolChoiceFunction
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 ToolChoiceFunction
impl RefUnwindSafe for ToolChoiceFunction
impl Send for ToolChoiceFunction
impl Sync for ToolChoiceFunction
impl Unpin for ToolChoiceFunction
impl UnwindSafe for ToolChoiceFunction
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