pub struct ModifyThreadRequest {
pub metadata: Option<HashMap<String, Value>>,
pub tool_resources: Option<AssistantToolResources>,
}
Fields§
§metadata: Option<HashMap<String, Value>>
§tool_resources: Option<AssistantToolResources>
A set of resources that are made available to the assistant’s tools in this thread. The resources are specific to the type of tool. For example, the code_interpreter
tool requires a list of file IDs, while the file_search
tool requires a list of vector store IDs.
Trait Implementations§
Source§impl Clone for ModifyThreadRequest
impl Clone for ModifyThreadRequest
Source§fn clone(&self) -> ModifyThreadRequest
fn clone(&self) -> ModifyThreadRequest
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 ModifyThreadRequest
impl Debug for ModifyThreadRequest
Source§impl Default for ModifyThreadRequest
impl Default for ModifyThreadRequest
Source§fn default() -> ModifyThreadRequest
fn default() -> ModifyThreadRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModifyThreadRequest
impl<'de> Deserialize<'de> for ModifyThreadRequest
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 ModifyThreadRequest
impl PartialEq for ModifyThreadRequest
Source§impl Serialize for ModifyThreadRequest
impl Serialize for ModifyThreadRequest
impl StructuralPartialEq for ModifyThreadRequest
Auto Trait Implementations§
impl Freeze for ModifyThreadRequest
impl RefUnwindSafe for ModifyThreadRequest
impl Send for ModifyThreadRequest
impl Sync for ModifyThreadRequest
impl Unpin for ModifyThreadRequest
impl UnwindSafe for ModifyThreadRequest
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