pub struct WorkflowExecutionTerminatedEventAttributes {
pub cause: Option<String>,
pub child_policy: String,
pub details: Option<String>,
pub reason: Option<String>,
}
Expand description
Provides the details of the WorkflowExecutionTerminated
event.
Fields§
§cause: Option<String>
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.
child_policy: String
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.
details: Option<String>
The details provided for the termination.
reason: Option<String>
The reason provided for the termination.
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 Default for WorkflowExecutionTerminatedEventAttributes
impl Default for WorkflowExecutionTerminatedEventAttributes
Source§fn default() -> WorkflowExecutionTerminatedEventAttributes
fn default() -> WorkflowExecutionTerminatedEventAttributes
Source§impl<'de> Deserialize<'de> for WorkflowExecutionTerminatedEventAttributes
impl<'de> Deserialize<'de> for WorkflowExecutionTerminatedEventAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for WorkflowExecutionTerminatedEventAttributes
impl PartialEq 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 ==
.