pub struct ThreadCreateParams {
pub messages: Option<Vec<Value>>,
pub metadata: Option<HashMap<String, String>>,
pub tool_resources: Option<Value>,
}Expand description
Request body for POST /threads.
Fields§
§messages: Option<Vec<Value>>§metadata: Option<HashMap<String, String>>§tool_resources: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for ThreadCreateParams
impl Clone for ThreadCreateParams
Source§fn clone(&self) -> ThreadCreateParams
fn clone(&self) -> ThreadCreateParams
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 ThreadCreateParams
impl Debug for ThreadCreateParams
Source§impl Default for ThreadCreateParams
impl Default for ThreadCreateParams
Source§fn default() -> ThreadCreateParams
fn default() -> ThreadCreateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadCreateParams
impl RefUnwindSafe for ThreadCreateParams
impl Send for ThreadCreateParams
impl Sync for ThreadCreateParams
impl Unpin for ThreadCreateParams
impl UnsafeUnpin for ThreadCreateParams
impl UnwindSafe for ThreadCreateParams
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