pub struct ChatCompletionMessageCustomToolCall {
pub id: String,
pub custom_tool: CustomTool,
}Available on crate feature
chat-completion-types only.Fields§
§id: StringThe ID of the tool call.
custom_tool: CustomToolThe custom tool that the model called.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionMessageCustomToolCall
impl<'de> Deserialize<'de> for ChatCompletionMessageCustomToolCall
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 From<ChatCompletionMessageCustomToolCall> for ChatCompletionMessageToolCalls
impl From<ChatCompletionMessageCustomToolCall> for ChatCompletionMessageToolCalls
Source§fn from(value: ChatCompletionMessageCustomToolCall) -> Self
fn from(value: ChatCompletionMessageCustomToolCall) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ChatCompletionMessageCustomToolCall
Auto Trait Implementations§
impl Freeze for ChatCompletionMessageCustomToolCall
impl RefUnwindSafe for ChatCompletionMessageCustomToolCall
impl Send for ChatCompletionMessageCustomToolCall
impl Sync for ChatCompletionMessageCustomToolCall
impl Unpin for ChatCompletionMessageCustomToolCall
impl UnsafeUnpin for ChatCompletionMessageCustomToolCall
impl UnwindSafe for ChatCompletionMessageCustomToolCall
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