pub enum AssistantsNamedToolChoiceType {
Function,
CodeInterpreter,
FileSearch,
}
Expand description
The type of the tool. If type is function
, the function name must be set
Variants§
Trait Implementations§
Source§impl Clone for AssistantsNamedToolChoiceType
impl Clone for AssistantsNamedToolChoiceType
Source§fn clone(&self) -> AssistantsNamedToolChoiceType
fn clone(&self) -> AssistantsNamedToolChoiceType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for AssistantsNamedToolChoiceType
impl<'de> Deserialize<'de> for AssistantsNamedToolChoiceType
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 AssistantsNamedToolChoiceType
impl PartialEq for AssistantsNamedToolChoiceType
Source§fn eq(&self, other: &AssistantsNamedToolChoiceType) -> bool
fn eq(&self, other: &AssistantsNamedToolChoiceType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for AssistantsNamedToolChoiceType
impl StructuralPartialEq for AssistantsNamedToolChoiceType
Auto Trait Implementations§
impl Freeze for AssistantsNamedToolChoiceType
impl RefUnwindSafe for AssistantsNamedToolChoiceType
impl Send for AssistantsNamedToolChoiceType
impl Sync for AssistantsNamedToolChoiceType
impl Unpin for AssistantsNamedToolChoiceType
impl UnwindSafe for AssistantsNamedToolChoiceType
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