pub struct CancelRunResponse {
pub run: RunResponse,
pub cancelled_descendants: Vec<Uuid>,
}Expand description
Response of POST /api/v1/runs/:id/cancel: the cancelled run, with the
sub-workflow runs cancelled along with it.
The run’s fields stay at the top level, as before the descendants were listed, so existing clients read the same document.
Fields§
§run: RunResponseThe cancelled run.
cancelled_descendants: Vec<Uuid>Sub-workflow runs below it that this request cancelled, oldest first. Empty when none was still active.
Trait Implementations§
Source§impl Debug for CancelRunResponse
impl Debug for CancelRunResponse
Auto Trait Implementations§
impl Freeze for CancelRunResponse
impl RefUnwindSafe for CancelRunResponse
impl Send for CancelRunResponse
impl Sync for CancelRunResponse
impl Unpin for CancelRunResponse
impl UnsafeUnpin for CancelRunResponse
impl UnwindSafe for CancelRunResponse
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