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 StreamingReply
impl Move for StreamingReply
impl RefUnwindSafe for StreamingReply
impl Send for StreamingReply
impl Sync for StreamingReply
impl Unpin for StreamingReply
impl UnsafeUnpin for StreamingReply
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