pub enum ChatCompletionMessageToolCallChunkType {
Function,
}
Expand description
The type of the tool. Currently, only function
is supported.
Variants§
Function
Trait Implementations§
Source§impl Clone for ChatCompletionMessageToolCallChunkType
impl Clone for ChatCompletionMessageToolCallChunkType
Source§fn clone(&self) -> ChatCompletionMessageToolCallChunkType
fn clone(&self) -> ChatCompletionMessageToolCallChunkType
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 ChatCompletionMessageToolCallChunkType
impl Default for ChatCompletionMessageToolCallChunkType
Source§fn default() -> ChatCompletionMessageToolCallChunkType
fn default() -> ChatCompletionMessageToolCallChunkType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionMessageToolCallChunkType
impl<'de> Deserialize<'de> for ChatCompletionMessageToolCallChunkType
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 ChatCompletionMessageToolCallChunkType
impl PartialEq for ChatCompletionMessageToolCallChunkType
Source§fn eq(&self, other: &ChatCompletionMessageToolCallChunkType) -> bool
fn eq(&self, other: &ChatCompletionMessageToolCallChunkType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ChatCompletionMessageToolCallChunkType
impl StructuralPartialEq for ChatCompletionMessageToolCallChunkType
Auto Trait Implementations§
impl Freeze for ChatCompletionMessageToolCallChunkType
impl RefUnwindSafe for ChatCompletionMessageToolCallChunkType
impl Send for ChatCompletionMessageToolCallChunkType
impl Sync for ChatCompletionMessageToolCallChunkType
impl Unpin for ChatCompletionMessageToolCallChunkType
impl UnwindSafe for ChatCompletionMessageToolCallChunkType
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