pub struct ChatCompletionChunkDeltaToolCall {
pub index: u32,
pub id: Option<String>,
pub function: Option<ChatCompletionFunctionCallDelta>,
pub type_: Option<ChatCompletionChunkDeltaToolCallType>,
}Fields§
§index: u32§id: Option<String>§function: Option<ChatCompletionFunctionCallDelta>§type_: Option<ChatCompletionChunkDeltaToolCallType>Trait Implementations§
Source§impl Clone for ChatCompletionChunkDeltaToolCall
impl Clone for ChatCompletionChunkDeltaToolCall
Source§fn clone(&self) -> ChatCompletionChunkDeltaToolCall
fn clone(&self) -> ChatCompletionChunkDeltaToolCall
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<'de> Deserialize<'de> for ChatCompletionChunkDeltaToolCall
impl<'de> Deserialize<'de> for ChatCompletionChunkDeltaToolCall
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 ChatCompletionChunkDeltaToolCall
impl PartialEq for ChatCompletionChunkDeltaToolCall
Source§fn eq(&self, other: &ChatCompletionChunkDeltaToolCall) -> bool
fn eq(&self, other: &ChatCompletionChunkDeltaToolCall) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatCompletionChunkDeltaToolCall
Auto Trait Implementations§
impl Freeze for ChatCompletionChunkDeltaToolCall
impl RefUnwindSafe for ChatCompletionChunkDeltaToolCall
impl Send for ChatCompletionChunkDeltaToolCall
impl Sync for ChatCompletionChunkDeltaToolCall
impl Unpin for ChatCompletionChunkDeltaToolCall
impl UnsafeUnpin for ChatCompletionChunkDeltaToolCall
impl UnwindSafe for ChatCompletionChunkDeltaToolCall
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