pub struct ChatCompletionRequestAssistantMessageFunctionCall {
pub arguments: String,
pub name: String,
}
Fields§
§arguments: String
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
name: String
The name of the function to call.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestAssistantMessageFunctionCall
impl<'de> Deserialize<'de> for ChatCompletionRequestAssistantMessageFunctionCall
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
Source§impl PartialEq for ChatCompletionRequestAssistantMessageFunctionCall
impl PartialEq for ChatCompletionRequestAssistantMessageFunctionCall
Source§fn eq(&self, other: &ChatCompletionRequestAssistantMessageFunctionCall) -> bool
fn eq(&self, other: &ChatCompletionRequestAssistantMessageFunctionCall) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatCompletionRequestAssistantMessageFunctionCall
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestAssistantMessageFunctionCall
impl RefUnwindSafe for ChatCompletionRequestAssistantMessageFunctionCall
impl Send for ChatCompletionRequestAssistantMessageFunctionCall
impl Sync for ChatCompletionRequestAssistantMessageFunctionCall
impl Unpin for ChatCompletionRequestAssistantMessageFunctionCall
impl UnwindSafe for ChatCompletionRequestAssistantMessageFunctionCall
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