pub struct ChatCompletionMessageToolCall_Function {
pub name: String,
pub arguments: String,
}
Expand description
The function that the model called.
Fields§
§name: String
The name of the function to call.
arguments: String
The arguments to call the function with, as generated by the model in JSON format.
Trait Implementations§
Source§impl Clone for ChatCompletionMessageToolCall_Function
impl Clone for ChatCompletionMessageToolCall_Function
Source§fn clone(&self) -> ChatCompletionMessageToolCall_Function
fn clone(&self) -> ChatCompletionMessageToolCall_Function
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 Default for ChatCompletionMessageToolCall_Function
impl Default for ChatCompletionMessageToolCall_Function
Source§fn default() -> ChatCompletionMessageToolCall_Function
fn default() -> ChatCompletionMessageToolCall_Function
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatCompletionMessageToolCall_Function
impl RefUnwindSafe for ChatCompletionMessageToolCall_Function
impl Send for ChatCompletionMessageToolCall_Function
impl Sync for ChatCompletionMessageToolCall_Function
impl Unpin for ChatCompletionMessageToolCall_Function
impl UnwindSafe for ChatCompletionMessageToolCall_Function
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