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