#[non_exhaustive]pub struct DecisionTaskCompletedEventAttributes {
pub execution_context: Option<String>,
pub scheduled_event_id: i64,
pub started_event_id: i64,
pub task_list: Option<TaskList>,
pub task_list_schedule_to_start_timeout: Option<String>,
}
Expand description
Provides the details of the DecisionTaskCompleted
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.execution_context: Option<String>
User defined context for the workflow execution.
scheduled_event_id: i64
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
started_event_id: i64
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
task_list: Option<TaskList>
Represents a task list.
task_list_schedule_to_start_timeout: Option<String>
The maximum amount of time the decision task can wait to be assigned to a worker.
Implementations§
source§impl DecisionTaskCompletedEventAttributes
impl DecisionTaskCompletedEventAttributes
sourcepub fn execution_context(&self) -> Option<&str>
pub fn execution_context(&self) -> Option<&str>
User defined context for the workflow execution.
sourcepub fn scheduled_event_id(&self) -> i64
pub fn scheduled_event_id(&self) -> i64
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn started_event_id(&self) -> i64
pub fn started_event_id(&self) -> i64
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn task_list_schedule_to_start_timeout(&self) -> Option<&str>
pub fn task_list_schedule_to_start_timeout(&self) -> Option<&str>
The maximum amount of time the decision task can wait to be assigned to a worker.
source§impl DecisionTaskCompletedEventAttributes
impl DecisionTaskCompletedEventAttributes
sourcepub fn builder() -> DecisionTaskCompletedEventAttributesBuilder
pub fn builder() -> DecisionTaskCompletedEventAttributesBuilder
Creates a new builder-style object to manufacture DecisionTaskCompletedEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskCompletedEventAttributes
impl Clone for DecisionTaskCompletedEventAttributes
source§fn clone(&self) -> DecisionTaskCompletedEventAttributes
fn clone(&self) -> DecisionTaskCompletedEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DecisionTaskCompletedEventAttributes
impl PartialEq for DecisionTaskCompletedEventAttributes
source§fn eq(&self, other: &DecisionTaskCompletedEventAttributes) -> bool
fn eq(&self, other: &DecisionTaskCompletedEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecisionTaskCompletedEventAttributes
Auto Trait Implementations§
impl Freeze for DecisionTaskCompletedEventAttributes
impl RefUnwindSafe for DecisionTaskCompletedEventAttributes
impl Send for DecisionTaskCompletedEventAttributes
impl Sync for DecisionTaskCompletedEventAttributes
impl Unpin for DecisionTaskCompletedEventAttributes
impl UnwindSafe for DecisionTaskCompletedEventAttributes
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