#[non_exhaustive]pub struct DecisionTaskScheduledEventAttributes {
pub task_list: Option<TaskList>,
pub task_priority: Option<String>,
pub start_to_close_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.
Implementations
sourceimpl 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.
sourceimpl DecisionTaskScheduledEventAttributes
impl DecisionTaskScheduledEventAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DecisionTaskScheduledEventAttributes
Trait Implementations
sourceimpl Clone for DecisionTaskScheduledEventAttributes
impl Clone for DecisionTaskScheduledEventAttributes
sourcefn clone(&self) -> DecisionTaskScheduledEventAttributes
fn clone(&self) -> DecisionTaskScheduledEventAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DecisionTaskScheduledEventAttributes> for DecisionTaskScheduledEventAttributes
impl PartialEq<DecisionTaskScheduledEventAttributes> for DecisionTaskScheduledEventAttributes
sourcefn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
fn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
fn ne(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
This method tests for !=
.
impl StructuralPartialEq for DecisionTaskScheduledEventAttributes
Auto Trait Implementations
impl RefUnwindSafe for DecisionTaskScheduledEventAttributes
impl Send for DecisionTaskScheduledEventAttributes
impl Sync for DecisionTaskScheduledEventAttributes
impl Unpin for DecisionTaskScheduledEventAttributes
impl UnwindSafe for DecisionTaskScheduledEventAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more