pub struct CreateThreadRequest {
    pub messages: Vec<CreateMessageRequest>,
    pub tool_resources: Option<CreateThreadRequest_ToolResources>,
    pub metadata: Option<Metadata>,
}Expand description
Options to create a new thread.
Fields§
§messages: Vec<CreateMessageRequest>A list of messages to start the thread with.
tool_resources: Option<CreateThreadRequest_ToolResources>§metadata: Option<Metadata>Trait Implementations§
Source§impl Clone for CreateThreadRequest
 
impl Clone for CreateThreadRequest
Source§fn clone(&self) -> CreateThreadRequest
 
fn clone(&self) -> CreateThreadRequest
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 moreAuto Trait Implementations§
impl Freeze for CreateThreadRequest
impl RefUnwindSafe for CreateThreadRequest
impl Send for CreateThreadRequest
impl Sync for CreateThreadRequest
impl Unpin for CreateThreadRequest
impl UnwindSafe for CreateThreadRequest
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