pub struct ChatCompletionMessageToolCallChunk {
pub index: u32,
pub id: Option<String>,
pub type: Option<FunctionType>,
pub function: Option<FunctionCallStream>,
}Available on crate feature
chat-completion-types only.Fields§
§index: u32§id: Option<String>The ID of the tool call.
type: Option<FunctionType>The type of the tool. Currently, only function is supported.
function: Option<FunctionCallStream>Trait Implementations§
Source§impl ComposeSchema for ChatCompletionMessageToolCallChunk
Available on crate feature openapi only.
impl ComposeSchema for ChatCompletionMessageToolCallChunk
Available on crate feature
openapi only.Source§impl<'de> Deserialize<'de> for ChatCompletionMessageToolCallChunk
impl<'de> Deserialize<'de> for ChatCompletionMessageToolCallChunk
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
impl StructuralPartialEq for ChatCompletionMessageToolCallChunk
Source§impl ToSchema for ChatCompletionMessageToolCallChunk
Available on crate feature openapi only.
impl ToSchema for ChatCompletionMessageToolCallChunk
Available on crate feature
openapi only.Auto Trait Implementations§
impl Freeze for ChatCompletionMessageToolCallChunk
impl RefUnwindSafe for ChatCompletionMessageToolCallChunk
impl Send for ChatCompletionMessageToolCallChunk
impl Sync for ChatCompletionMessageToolCallChunk
impl Unpin for ChatCompletionMessageToolCallChunk
impl UnsafeUnpin 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