pub struct CreateAssistantToolFileSearchResources {
    pub vector_store_ids: Option<Vec<String>>,
    pub vector_stores: Option<Vec<AssistantVectorStore>>,
}Fields§
§vector_store_ids: Option<Vec<String>>The vector store attached to this assistant. There can be a maximum of 1 vector store attached to the assistant.
vector_stores: Option<Vec<AssistantVectorStore>>A helper to create a vector store with file_ids and attach it to this assistant. There can be a maximum of 1 vector store attached to the assistant.
Trait Implementations§
Source§impl Clone for CreateAssistantToolFileSearchResources
 
impl Clone for CreateAssistantToolFileSearchResources
Source§fn clone(&self) -> CreateAssistantToolFileSearchResources
 
fn clone(&self) -> CreateAssistantToolFileSearchResources
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 Default for CreateAssistantToolFileSearchResources
 
impl Default for CreateAssistantToolFileSearchResources
Source§fn default() -> CreateAssistantToolFileSearchResources
 
fn default() -> CreateAssistantToolFileSearchResources
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateAssistantToolFileSearchResources
 
impl<'de> Deserialize<'de> for CreateAssistantToolFileSearchResources
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<CreateAssistantToolFileSearchResources> for CreateAssistantToolResources
 
impl From<CreateAssistantToolFileSearchResources> for CreateAssistantToolResources
Source§fn from(value: CreateAssistantToolFileSearchResources) -> Self
 
fn from(value: CreateAssistantToolFileSearchResources) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CreateAssistantToolFileSearchResources
 
impl PartialEq for CreateAssistantToolFileSearchResources
Source§fn eq(&self, other: &CreateAssistantToolFileSearchResources) -> bool
 
fn eq(&self, other: &CreateAssistantToolFileSearchResources) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateAssistantToolFileSearchResources
Auto Trait Implementations§
impl Freeze for CreateAssistantToolFileSearchResources
impl RefUnwindSafe for CreateAssistantToolFileSearchResources
impl Send for CreateAssistantToolFileSearchResources
impl Sync for CreateAssistantToolFileSearchResources
impl Unpin for CreateAssistantToolFileSearchResources
impl UnwindSafe for CreateAssistantToolFileSearchResources
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