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