#[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 ==
.impl StructuralPartialEq for WorkflowExecutionTimedOutEventAttributes
Auto Trait Implementations§
impl Freeze for WorkflowExecutionTimedOutEventAttributes
impl RefUnwindSafe for WorkflowExecutionTimedOutEventAttributes
impl Send for WorkflowExecutionTimedOutEventAttributes
impl Sync for WorkflowExecutionTimedOutEventAttributes
impl Unpin for WorkflowExecutionTimedOutEventAttributes
impl UnwindSafe for WorkflowExecutionTimedOutEventAttributes
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
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>
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>
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 more