pub struct RunPause {
pub run: Run,
pub paused_descendants: Vec<Uuid>,
}Expand description
Outcome of Engine::pause_run.
§Examples
use std::sync::Arc;
use ironflow_engine::engine::Engine;
use ironflow_engine::error::EngineError;
use uuid::Uuid;
let pause = engine.pause_run(run_id).await?;
println!(
"run {} paused with {} sub-runs",
pause.run.id,
pause.paused_descendants.len()
);Fields§
§run: RunThe paused run, as stored after the pause.
paused_descendants: Vec<Uuid>The sub-workflow runs below it that this call paused, oldest first.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunPause
impl RefUnwindSafe for RunPause
impl Send for RunPause
impl Sync for RunPause
impl Unpin for RunPause
impl UnsafeUnpin for RunPause
impl UnwindSafe for RunPause
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