struct StreamedChat {
content: String,
tool_calls: BTreeMap<usize, PendingToolCall>,
usage: Option<Usage>,
raw_events: String,
}Fields§
§content: String§tool_calls: BTreeMap<usize, PendingToolCall>§usage: Option<Usage>§raw_events: StringImplementations§
Source§impl StreamedChat
impl StreamedChat
fn into_message(self) -> Value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamedChat
impl RefUnwindSafe for StreamedChat
impl Send for StreamedChat
impl Sync for StreamedChat
impl Unpin for StreamedChat
impl UnsafeUnpin for StreamedChat
impl UnwindSafe for StreamedChat
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