pub struct ChildWorkflowSpawnRequest {
pub parent_workflow_id: WorkflowId,
pub child_workflow_id: WorkflowId,
pub workflow_type: String,
pub input: Payload,
pub package_version: PackageVersion,
}Expand description
Request from AT to AE to spawn a child workflow under a parent process.
The child workflow identifier is pre-allocated by the parent and durably
recorded as ChildWorkflowStarted in the parent’s history before this
request is issued (record-then-spawn), so a crash between the record and
the start leaves a recoverable record instead of an unrecorded orphan.
AE must start the child under exactly this identifier. Children are not
process-linked to their parents: parent death leaves children running,
and awaited terminals are observed through the child-terminal watcher.
Fields§
§parent_workflow_id: WorkflowIdParent workflow requesting the child execution.
child_workflow_id: WorkflowIdPre-allocated child workflow identifier already recorded by the parent.
workflow_type: StringChild workflow type selected by the parent workflow.
input: PayloadOpaque child workflow input payload.
package_version: PackageVersionPackage version resolved for the child at record time.
Trait Implementations§
Source§impl Clone for ChildWorkflowSpawnRequest
impl Clone for ChildWorkflowSpawnRequest
Source§fn clone(&self) -> ChildWorkflowSpawnRequest
fn clone(&self) -> ChildWorkflowSpawnRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChildWorkflowSpawnRequest
impl Debug for ChildWorkflowSpawnRequest
impl Eq for ChildWorkflowSpawnRequest
impl StructuralPartialEq for ChildWorkflowSpawnRequest
Auto Trait Implementations§
impl Freeze for ChildWorkflowSpawnRequest
impl RefUnwindSafe for ChildWorkflowSpawnRequest
impl Send for ChildWorkflowSpawnRequest
impl Sync for ChildWorkflowSpawnRequest
impl Unpin for ChildWorkflowSpawnRequest
impl UnsafeUnpin for ChildWorkflowSpawnRequest
impl UnwindSafe for ChildWorkflowSpawnRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.