pub struct RunCreateRequest {
pub assistant_id: String,
pub instructions: Option<String>,
pub tools: Option<Vec<BetaTool>>,
pub metadata: Option<HashMap<String, String>>,
pub model: Option<String>,
}Expand description
Request body for creating a run.
Fields§
§assistant_id: String§instructions: Option<String>§tools: Option<Vec<BetaTool>>§metadata: Option<HashMap<String, String>>§model: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RunCreateRequest
impl Clone for RunCreateRequest
Source§fn clone(&self) -> RunCreateRequest
fn clone(&self) -> RunCreateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunCreateRequest
impl Debug for RunCreateRequest
Auto Trait Implementations§
impl Freeze for RunCreateRequest
impl RefUnwindSafe for RunCreateRequest
impl Send for RunCreateRequest
impl Sync for RunCreateRequest
impl Unpin for RunCreateRequest
impl UnsafeUnpin for RunCreateRequest
impl UnwindSafe for RunCreateRequest
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