pub enum IndexedStreamEvent {
TextDelta {
content_index: usize,
delta: String,
},
ThinkingDelta {
content_index: usize,
delta: String,
},
ToolCallStart {
content_index: usize,
id: String,
name: String,
},
ToolCallArgumentsDelta {
content_index: usize,
id: String,
delta: String,
},
ToolCallEnd {
content_index: usize,
id: String,
name: String,
arguments: Value,
metadata: Option<Value>,
},
}Variants§
Trait Implementations§
Source§impl Clone for IndexedStreamEvent
impl Clone for IndexedStreamEvent
Source§fn clone(&self) -> IndexedStreamEvent
fn clone(&self) -> IndexedStreamEvent
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 IndexedStreamEvent
impl Debug for IndexedStreamEvent
Source§impl PartialEq for IndexedStreamEvent
impl PartialEq for IndexedStreamEvent
impl StructuralPartialEq for IndexedStreamEvent
Auto Trait Implementations§
impl Freeze for IndexedStreamEvent
impl RefUnwindSafe for IndexedStreamEvent
impl Send for IndexedStreamEvent
impl Sync for IndexedStreamEvent
impl Unpin for IndexedStreamEvent
impl UnsafeUnpin for IndexedStreamEvent
impl UnwindSafe for IndexedStreamEvent
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