pub enum AssistantToolCall {
Function {
id: String,
function: ToolCallFunction,
},
Custom {
id: String,
custom: ToolCallCustom,
},
}
Variants§
Function
Fields
§
function: ToolCallFunction
The function that the model called.
Custom
Fields
§
custom: ToolCallCustom
The custom tool that the model called.
Trait Implementations§
Source§impl Debug for AssistantToolCall
impl Debug for AssistantToolCall
Auto Trait Implementations§
impl Freeze for AssistantToolCall
impl RefUnwindSafe for AssistantToolCall
impl Send for AssistantToolCall
impl Sync for AssistantToolCall
impl Unpin for AssistantToolCall
impl UnwindSafe for AssistantToolCall
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