#[non_exhaustive]pub struct WorkflowExecutionTerminatedEventAttributes { /* private fields */ }
Expand description
Provides the details of the WorkflowExecutionTerminated
event.
Implementations§
source§impl 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.
source§impl WorkflowExecutionTerminatedEventAttributes
impl WorkflowExecutionTerminatedEventAttributes
sourcepub fn builder() -> WorkflowExecutionTerminatedEventAttributesBuilder
pub fn builder() -> WorkflowExecutionTerminatedEventAttributesBuilder
Creates a new builder-style object to manufacture WorkflowExecutionTerminatedEventAttributes
.
Trait Implementations§
source§impl Clone for WorkflowExecutionTerminatedEventAttributes
impl Clone for WorkflowExecutionTerminatedEventAttributes
source§fn clone(&self) -> WorkflowExecutionTerminatedEventAttributes
fn clone(&self) -> WorkflowExecutionTerminatedEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<WorkflowExecutionTerminatedEventAttributes> for WorkflowExecutionTerminatedEventAttributes
impl PartialEq<WorkflowExecutionTerminatedEventAttributes> for WorkflowExecutionTerminatedEventAttributes
source§fn eq(&self, other: &WorkflowExecutionTerminatedEventAttributes) -> bool
fn eq(&self, other: &WorkflowExecutionTerminatedEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.