pub struct ChildWorkflowOptions {Show 15 fields
pub workflow_id: String,
pub workflow_type: String,
pub task_queue: Option<String>,
pub input: Vec<Payload>,
pub cancel_type: ChildWorkflowCancellationType,
pub parent_close_policy: ParentClosePolicy,
pub static_summary: Option<String>,
pub static_details: Option<String>,
pub id_reuse_policy: WorkflowIdReusePolicy,
pub execution_timeout: Option<Duration>,
pub run_timeout: Option<Duration>,
pub task_timeout: Option<Duration>,
pub cron_schedule: Option<String>,
pub search_attributes: Option<HashMap<String, Payload>>,
pub priority: Option<Priority>,
}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
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
id_reuse_policy: WorkflowIdReusePolicySet the policy for reusing the workflow id
execution_timeout: Option<Duration>Optionally set the execution timeout for the workflow
run_timeout: Option<Duration>Optionally indicates the default run timeout for a workflow run
task_timeout: Option<Duration>Optionally indicates the default task timeout for a workflow run
cron_schedule: Option<String>Optionally set a cron schedule for the workflow
search_attributes: Option<HashMap<String, Payload>>Optionally associate extra search attributes with a workflow
priority: Option<Priority>Priority for the 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 · Source§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 UnsafeUnpin for ChildWorkflowOptions
impl UnwindSafe for ChildWorkflowOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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