pub struct ChildWorkflowOptions {
pub workflow_id: String,
pub workflow_type: String,
pub task_queue: Option<String>,
pub input: Vec<Payload>,
pub cancel_type: ChildWorkflowCancellationType,
pub options: WorkflowOptions,
pub parent_close_policy: ParentClosePolicy,
pub static_summary: Option<String>,
pub static_details: Option<String>,
}Expand description
Options for scheduling a child workflow
Fields§
§workflow_id: StringWorkflow ID
workflow_type: StringType of workflow to schedule
task_queue: Option<String>Task queue to schedule the workflow in
If None, use the same task queue as the parent workflow.
input: Vec<Payload>Input to send the child Workflow
cancel_type: ChildWorkflowCancellationTypeCancellation strategy for the child workflow
options: WorkflowOptionsCommon options
parent_close_policy: ParentClosePolicyHow to respond to parent workflow ending
static_summary: Option<String>Static summary of the child workflow
static_details: Option<String>Static details of the child workflow
Trait Implementations§
Source§impl Clone for ChildWorkflowOptions
impl Clone for ChildWorkflowOptions
Source§fn clone(&self) -> ChildWorkflowOptions
fn clone(&self) -> ChildWorkflowOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChildWorkflowOptions
impl Debug for ChildWorkflowOptions
Source§impl Default for ChildWorkflowOptions
impl Default for ChildWorkflowOptions
Source§fn default() -> ChildWorkflowOptions
fn default() -> ChildWorkflowOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChildWorkflowOptions
impl RefUnwindSafe for ChildWorkflowOptions
impl Send for ChildWorkflowOptions
impl Sync for ChildWorkflowOptions
impl Unpin for ChildWorkflowOptions
impl UnwindSafe for ChildWorkflowOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request