pub enum RunStreamEvent {
Status {
run_id: String,
status: String,
},
Assistant {
text: String,
},
Thinking {
text: String,
},
ToolCall {
payload: Value,
},
Heartbeat,
Result {
run_id: String,
status: String,
},
Error {
code: Option<String>,
message: String,
},
Done,
Unknown {
name: String,
payload: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for RunStreamEvent
impl Clone for RunStreamEvent
Source§fn clone(&self) -> RunStreamEvent
fn clone(&self) -> RunStreamEvent
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 RunStreamEvent
impl Debug for RunStreamEvent
Auto Trait Implementations§
impl Freeze for RunStreamEvent
impl RefUnwindSafe for RunStreamEvent
impl Send for RunStreamEvent
impl Sync for RunStreamEvent
impl Unpin for RunStreamEvent
impl UnsafeUnpin for RunStreamEvent
impl UnwindSafe for RunStreamEvent
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