pub struct Thread {
pub id: String,
pub model: Option<String>,
pub raw: Value,
}Expand description
A thread, as returned by thread/start.
Fields§
§id: StringThe thread id, needed to start turns on it.
model: Option<String>The model the thread will use, when the server reports one.
raw: ValueThe complete response, for fields this type does not name.
Trait Implementations§
impl StructuralPartialEq for Thread
Auto Trait Implementations§
impl Freeze for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnsafeUnpin for Thread
impl UnwindSafe for Thread
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