Struct openai_api_rs::v1::run::CreateThreadAndRunRequest
source · pub struct CreateThreadAndRunRequest {
pub assistant_id: String,
pub thread: Option<CreateThreadRequest>,
pub model: Option<String>,
pub instructions: Option<String>,
pub tools: Option<Vec<HashMap<String, String>>>,
pub metadata: Option<HashMap<String, String>>,
}
Fields§
§assistant_id: String
§thread: Option<CreateThreadRequest>
§model: Option<String>
§instructions: Option<String>
§tools: Option<Vec<HashMap<String, String>>>
§metadata: Option<HashMap<String, String>>
Trait Implementations§
source§impl Clone for CreateThreadAndRunRequest
impl Clone for CreateThreadAndRunRequest
source§fn clone(&self) -> CreateThreadAndRunRequest
fn clone(&self) -> CreateThreadAndRunRequest
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 CreateThreadAndRunRequest
impl Debug for CreateThreadAndRunRequest
Auto Trait Implementations§
impl RefUnwindSafe for CreateThreadAndRunRequest
impl Send for CreateThreadAndRunRequest
impl Sync for CreateThreadAndRunRequest
impl Unpin for CreateThreadAndRunRequest
impl UnwindSafe for CreateThreadAndRunRequest
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