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