pub enum RunLifecycleUpdate {
Start {
run_id: String,
updated_at: u64,
},
StepCompleted {
updated_at: u64,
},
SetWaiting {
updated_at: u64,
pause_reason: String,
},
SetRunning {
updated_at: u64,
},
Done {
done_reason: String,
updated_at: u64,
},
}Expand description
Update for the run lifecycle state key.
Variants§
Implementations§
Source§impl RunLifecycleUpdate
impl RunLifecycleUpdate
Sourcepub fn target_status(&self) -> RunStatus
pub fn target_status(&self) -> RunStatus
The target RunStatus this update will produce.
Auto Trait Implementations§
impl Freeze for RunLifecycleUpdate
impl RefUnwindSafe for RunLifecycleUpdate
impl Send for RunLifecycleUpdate
impl Sync for RunLifecycleUpdate
impl Unpin for RunLifecycleUpdate
impl UnsafeUnpin for RunLifecycleUpdate
impl UnwindSafe for RunLifecycleUpdate
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