#[non_exhaustive]pub struct WorkflowExecutionTerminatedEventAttributes { /* private fields */ }
Expand description
Provides the details of the WorkflowExecutionTerminated
event.
Implementations
sourceimpl WorkflowExecutionTerminatedEventAttributes
impl WorkflowExecutionTerminatedEventAttributes
sourcepub fn child_policy(&self) -> Option<&ChildPolicy>
pub fn child_policy(&self) -> Option<&ChildPolicy>
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
-
TERMINATE
– The child executions are terminated. -
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. -
ABANDON
– No action is taken. The child executions continue to run.
sourcepub fn cause(&self) -> Option<&WorkflowExecutionTerminatedCause>
pub fn cause(&self) -> Option<&WorkflowExecutionTerminatedCause>
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
sourceimpl WorkflowExecutionTerminatedEventAttributes
impl WorkflowExecutionTerminatedEventAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkflowExecutionTerminatedEventAttributes
.
Trait Implementations
sourceimpl Clone for WorkflowExecutionTerminatedEventAttributes
impl Clone for WorkflowExecutionTerminatedEventAttributes
sourcefn clone(&self) -> WorkflowExecutionTerminatedEventAttributes
fn clone(&self) -> WorkflowExecutionTerminatedEventAttributes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more