pub struct ThreadStartResponse {
pub thread: ThreadInfo,
pub model: Option<String>,
pub extra: Value,
}Expand description
Response from thread/start.
Fields§
§thread: ThreadInfoThe created thread.
model: Option<String>The model assigned to this thread.
extra: ValueAll other fields are captured but not typed.
Implementations§
Trait Implementations§
Source§impl Clone for ThreadStartResponse
impl Clone for ThreadStartResponse
Source§fn clone(&self) -> ThreadStartResponse
fn clone(&self) -> ThreadStartResponse
Returns a duplicate 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 ThreadStartResponse
impl Debug for ThreadStartResponse
Source§impl<'de> Deserialize<'de> for ThreadStartResponse
impl<'de> Deserialize<'de> for ThreadStartResponse
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
Auto Trait Implementations§
impl Freeze for ThreadStartResponse
impl RefUnwindSafe for ThreadStartResponse
impl Send for ThreadStartResponse
impl Sync for ThreadStartResponse
impl Unpin for ThreadStartResponse
impl UnsafeUnpin for ThreadStartResponse
impl UnwindSafe for ThreadStartResponse
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