pub struct StreamingReply {
pub turn: String,
pub text: String,
pub tools: Vec<RoomToolState>,
pub files: Vec<Attachment>,
}Expand description
The in-progress streamed model reply: { turn, text, tools, files } in the
TypeScript SDK.
Fields§
§turn: String§text: String§tools: Vec<RoomToolState>§files: Vec<Attachment>Trait Implementations§
Source§impl Clone for StreamingReply
impl Clone for StreamingReply
Auto Trait Implementations§
impl Forget for StreamingReply
impl Freeze for StreamingReplywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RoomToolState>: Freeze,
PhantomData<Attachment>: Freeze,
impl Move for StreamingReply
impl RefUnwindSafe for StreamingReply
impl Send for StreamingReply
impl Sync for StreamingReply
impl Unpin for StreamingReply
impl UnsafeUnpin for StreamingReplywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RoomToolState>: UnsafeUnpin,
PhantomData<Attachment>: UnsafeUnpin,
impl UnwindSafe for StreamingReply
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