#[non_exhaustive]pub struct WorkflowExecutionTimedOutEventAttributes {
pub timeout_type: WorkflowExecutionTimeoutType,
pub child_policy: ChildPolicy,
}
Expand description
Provides the details of the WorkflowExecutionTimedOut
event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timeout_type: WorkflowExecutionTimeoutType
The type of timeout that caused this event.
child_policy: 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.
Implementations§
source§impl WorkflowExecutionTimedOutEventAttributes
impl WorkflowExecutionTimedOutEventAttributes
sourcepub fn timeout_type(&self) -> &WorkflowExecutionTimeoutType
pub fn timeout_type(&self) -> &WorkflowExecutionTimeoutType
The type of timeout that caused this event.
sourcepub fn child_policy(&self) -> &ChildPolicy
pub fn child_policy(&self) -> &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.
source§impl WorkflowExecutionTimedOutEventAttributes
impl WorkflowExecutionTimedOutEventAttributes
sourcepub fn builder() -> WorkflowExecutionTimedOutEventAttributesBuilder
pub fn builder() -> WorkflowExecutionTimedOutEventAttributesBuilder
Creates a new builder-style object to manufacture WorkflowExecutionTimedOutEventAttributes
.
Trait Implementations§
source§impl Clone for WorkflowExecutionTimedOutEventAttributes
impl Clone for WorkflowExecutionTimedOutEventAttributes
source§fn clone(&self) -> WorkflowExecutionTimedOutEventAttributes
fn clone(&self) -> WorkflowExecutionTimedOutEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for WorkflowExecutionTimedOutEventAttributes
impl PartialEq for WorkflowExecutionTimedOutEventAttributes
source§fn eq(&self, other: &WorkflowExecutionTimedOutEventAttributes) -> bool
fn eq(&self, other: &WorkflowExecutionTimedOutEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.