pub enum RunStepStreamEvent {
ThreadRunStepCreated(RunStepStreamEventThreadRunStepCreated),
ThreadRunStepInProgress(RunStepStreamEventThreadRunStepInProgress),
ThreadRunStepDelta(RunStepStreamEventThreadRunStepDelta),
ThreadRunStepCompleted(RunStepStreamEventThreadRunStepCompleted),
ThreadRunStepFailed(RunStepStreamEventThreadRunStepFailed),
ThreadRunStepCancelled(RunStepStreamEventThreadRunStepCancelled),
ThreadRunStepExpired(RunStepStreamEventThreadRunStepExpired),
}
Variants§
ThreadRunStepCreated(RunStepStreamEventThreadRunStepCreated)
Occurs when a run step is created.
ThreadRunStepInProgress(RunStepStreamEventThreadRunStepInProgress)
Occurs when a run step moves to an in_progress
state.
ThreadRunStepDelta(RunStepStreamEventThreadRunStepDelta)
Occurs when parts of a run step are being streamed.
ThreadRunStepCompleted(RunStepStreamEventThreadRunStepCompleted)
Occurs when a run step is completed.
ThreadRunStepFailed(RunStepStreamEventThreadRunStepFailed)
Occurs when a run step fails.
ThreadRunStepCancelled(RunStepStreamEventThreadRunStepCancelled)
Occurs when a run step is cancelled.
ThreadRunStepExpired(RunStepStreamEventThreadRunStepExpired)
Occurs when a run step expires.
Trait Implementations§
Source§impl Clone for RunStepStreamEvent
impl Clone for RunStepStreamEvent
Source§fn clone(&self) -> RunStepStreamEvent
fn clone(&self) -> RunStepStreamEvent
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 RunStepStreamEvent
impl Debug for RunStepStreamEvent
Source§impl<'de> Deserialize<'de> for RunStepStreamEvent
impl<'de> Deserialize<'de> for RunStepStreamEvent
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RunStepStreamEvent
impl PartialEq for RunStepStreamEvent
Source§impl Serialize for RunStepStreamEvent
impl Serialize for RunStepStreamEvent
impl StructuralPartialEq for RunStepStreamEvent
Auto Trait Implementations§
impl Freeze for RunStepStreamEvent
impl RefUnwindSafe for RunStepStreamEvent
impl Send for RunStepStreamEvent
impl Sync for RunStepStreamEvent
impl Unpin for RunStepStreamEvent
impl UnwindSafe for RunStepStreamEvent
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