pub enum AssistantTools {
    CodeInterpreter,
    FileSearch(AssistantToolsFileSearch),
    Function(AssistantToolsFunction),
}Variants§
Trait Implementations§
Source§impl Clone for AssistantTools
 
impl Clone for AssistantTools
Source§fn clone(&self) -> AssistantTools
 
fn clone(&self) -> AssistantTools
Returns a copy 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 Debug for AssistantTools
 
impl Debug for AssistantTools
Source§impl<'de> Deserialize<'de> for AssistantTools
 
impl<'de> Deserialize<'de> for AssistantTools
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<AssistantToolsFileSearch> for AssistantTools
 
impl From<AssistantToolsFileSearch> for AssistantTools
Source§fn from(value: AssistantToolsFileSearch) -> Self
 
fn from(value: AssistantToolsFileSearch) -> Self
Converts to this type from the input type.
Source§impl From<AssistantToolsFunction> for AssistantTools
 
impl From<AssistantToolsFunction> for AssistantTools
Source§fn from(value: AssistantToolsFunction) -> Self
 
fn from(value: AssistantToolsFunction) -> Self
Converts to this type from the input type.
Source§impl From<FunctionObject> for AssistantTools
 
impl From<FunctionObject> for AssistantTools
Source§fn from(value: FunctionObject) -> Self
 
fn from(value: FunctionObject) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AssistantTools
 
impl PartialEq for AssistantTools
Source§impl Serialize for AssistantTools
 
impl Serialize for AssistantTools
impl StructuralPartialEq for AssistantTools
Auto Trait Implementations§
impl Freeze for AssistantTools
impl RefUnwindSafe for AssistantTools
impl Send for AssistantTools
impl Sync for AssistantTools
impl Unpin for AssistantTools
impl UnwindSafe for AssistantTools
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