#[non_exhaustive]pub struct DecisionTaskScheduledEventAttributes {
pub task_list: Option<TaskList>,
pub task_priority: Option<String>,
pub start_to_close_timeout: Option<String>,
pub schedule_to_start_timeout: Option<String>,
}
Expand description
Provides details about the DecisionTaskScheduled
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.task_list: Option<TaskList>
The name of the task list in which the decision task was scheduled.
task_priority: Option<String>
A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
start_to_close_timeout: Option<String>
The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
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 DecisionTaskScheduledEventAttributes
impl DecisionTaskScheduledEventAttributes
sourcepub fn task_list(&self) -> Option<&TaskList>
pub fn task_list(&self) -> Option<&TaskList>
The name of the task list in which the decision task was scheduled.
sourcepub fn task_priority(&self) -> Option<&str>
pub fn task_priority(&self) -> Option<&str>
A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
sourcepub fn start_to_close_timeout(&self) -> Option<&str>
pub fn start_to_close_timeout(&self) -> Option<&str>
The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
sourcepub fn schedule_to_start_timeout(&self) -> Option<&str>
pub fn 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 DecisionTaskScheduledEventAttributes
impl DecisionTaskScheduledEventAttributes
sourcepub fn builder() -> DecisionTaskScheduledEventAttributesBuilder
pub fn builder() -> DecisionTaskScheduledEventAttributesBuilder
Creates a new builder-style object to manufacture DecisionTaskScheduledEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskScheduledEventAttributes
impl Clone for DecisionTaskScheduledEventAttributes
source§fn clone(&self) -> DecisionTaskScheduledEventAttributes
fn clone(&self) -> DecisionTaskScheduledEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DecisionTaskScheduledEventAttributes
impl PartialEq for DecisionTaskScheduledEventAttributes
source§fn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
fn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecisionTaskScheduledEventAttributes
Auto Trait Implementations§
impl Freeze for DecisionTaskScheduledEventAttributes
impl RefUnwindSafe for DecisionTaskScheduledEventAttributes
impl Send for DecisionTaskScheduledEventAttributes
impl Sync for DecisionTaskScheduledEventAttributes
impl Unpin for DecisionTaskScheduledEventAttributes
impl UnwindSafe for DecisionTaskScheduledEventAttributes
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