pub struct ChildWorkflowInput {
pub inputs: HashMap<String, String>,
pub iteration: u32,
pub as_identity: Option<String>,
pub depth: u32,
pub parent_step_id: Option<String>,
pub cancellation: CancellationToken,
}Expand description
Input parameters for child workflow execution.
Fields§
§inputs: HashMap<String, String>§iteration: u32§as_identity: Option<String>§depth: u32§parent_step_id: Option<String>§cancellation: CancellationTokenChild token derived from the parent run’s cancellation token.
The child runner sets this as the child ExecutionState.cancellation
so that cancelling the parent automatically cancels in-progress child runs.
Auto Trait Implementations§
impl Freeze for ChildWorkflowInput
impl RefUnwindSafe for ChildWorkflowInput
impl Send for ChildWorkflowInput
impl Sync for ChildWorkflowInput
impl Unpin for ChildWorkflowInput
impl UnsafeUnpin for ChildWorkflowInput
impl UnwindSafe for ChildWorkflowInput
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