Struct async_openai::types::ModifyAssistantRequest
source · pub struct ModifyAssistantRequest {
pub model: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub instructions: Option<String>,
pub tools: Option<Vec<AssistantTools>>,
pub file_ids: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
}
Fields§
§model: Option<String>
§name: Option<String>
§description: Option<String>
§instructions: Option<String>
§tools: Option<Vec<AssistantTools>>
§file_ids: Option<Vec<String>>
A list of File IDs attached to this assistant. There can be a maximum of 20 files attached to the assistant. Files are ordered by their creation date in ascending order. If a file was previously attached to the list but does not show up in the list, it will be deleted from the assistant.
metadata: Option<HashMap<String, Value>>
Trait Implementations§
source§impl Clone for ModifyAssistantRequest
impl Clone for ModifyAssistantRequest
source§fn clone(&self) -> ModifyAssistantRequest
fn clone(&self) -> ModifyAssistantRequest
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 ModifyAssistantRequest
impl Debug for ModifyAssistantRequest
source§impl Default for ModifyAssistantRequest
impl Default for ModifyAssistantRequest
source§fn default() -> ModifyAssistantRequest
fn default() -> ModifyAssistantRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ModifyAssistantRequest
impl<'de> Deserialize<'de> for ModifyAssistantRequest
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 ModifyAssistantRequest
impl PartialEq for ModifyAssistantRequest
source§fn eq(&self, other: &ModifyAssistantRequest) -> bool
fn eq(&self, other: &ModifyAssistantRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModifyAssistantRequest
impl Serialize for ModifyAssistantRequest
impl StructuralPartialEq for ModifyAssistantRequest
Auto Trait Implementations§
impl RefUnwindSafe for ModifyAssistantRequest
impl Send for ModifyAssistantRequest
impl Sync for ModifyAssistantRequest
impl Unpin for ModifyAssistantRequest
impl UnwindSafe for ModifyAssistantRequest
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