pub struct ChatCompletionNamedToolChoiceCustom {
pub custom: Custom,
}
Expand description
Specifies a tool the model should use. Use to force the model to call a specific custom tool.
Fields§
§custom: Custom
Implementations§
Trait Implementations§
Source§impl Clone for ChatCompletionNamedToolChoiceCustom
impl Clone for ChatCompletionNamedToolChoiceCustom
Source§fn clone(&self) -> ChatCompletionNamedToolChoiceCustom
fn clone(&self) -> ChatCompletionNamedToolChoiceCustom
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 ChatCompletionNamedToolChoiceCustom
impl<'de> Deserialize<'de> for ChatCompletionNamedToolChoiceCustom
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 ChatCompletionNamedToolChoiceCustom
impl PartialEq for ChatCompletionNamedToolChoiceCustom
Source§fn eq(&self, other: &ChatCompletionNamedToolChoiceCustom) -> bool
fn eq(&self, other: &ChatCompletionNamedToolChoiceCustom) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatCompletionNamedToolChoiceCustom
Auto Trait Implementations§
impl Freeze for ChatCompletionNamedToolChoiceCustom
impl RefUnwindSafe for ChatCompletionNamedToolChoiceCustom
impl Send for ChatCompletionNamedToolChoiceCustom
impl Sync for ChatCompletionNamedToolChoiceCustom
impl Unpin for ChatCompletionNamedToolChoiceCustom
impl UnwindSafe for ChatCompletionNamedToolChoiceCustom
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