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§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 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