pub struct ChatCompletionMessageToolCallChunk {
pub index: i64,
pub id: Option<String>,
pub type: Option<String>,
pub function: Option<ChatCompletionMessageToolCallChunk_Function>,
}
Fields§
§index: i64
§id: Option<String>
The ID of the tool call.
type: Option<String>
The type of the tool.
function: Option<ChatCompletionMessageToolCallChunk_Function>
Trait Implementations§
Source§impl Clone for ChatCompletionMessageToolCallChunk
impl Clone for ChatCompletionMessageToolCallChunk
Source§fn clone(&self) -> ChatCompletionMessageToolCallChunk
fn clone(&self) -> ChatCompletionMessageToolCallChunk
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 ChatCompletionMessageToolCallChunk
impl Default for ChatCompletionMessageToolCallChunk
Source§fn default() -> ChatCompletionMessageToolCallChunk
fn default() -> ChatCompletionMessageToolCallChunk
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatCompletionMessageToolCallChunk
impl RefUnwindSafe for ChatCompletionMessageToolCallChunk
impl Send for ChatCompletionMessageToolCallChunk
impl Sync for ChatCompletionMessageToolCallChunk
impl Unpin for ChatCompletionMessageToolCallChunk
impl UnwindSafe for ChatCompletionMessageToolCallChunk
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