Struct aws_sdk_swf::operation::respond_decision_task_completed::RespondDecisionTaskCompletedInput
source · #[non_exhaustive]pub struct RespondDecisionTaskCompletedInput {
pub task_token: Option<String>,
pub decisions: Option<Vec<Decision>>,
pub execution_context: Option<String>,
}
Expand description
Input data for a TaskCompleted response to a decision task.
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_token: Option<String>
The taskToken
from the DecisionTask
.
taskToken
is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond with results.
decisions: Option<Vec<Decision>>
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision
structure for details.
execution_context: Option<String>
User defined context to add to workflow execution.
Implementations§
source§impl RespondDecisionTaskCompletedInput
impl RespondDecisionTaskCompletedInput
sourcepub fn task_token(&self) -> Option<&str>
pub fn task_token(&self) -> Option<&str>
The taskToken
from the DecisionTask
.
taskToken
is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond with results.
sourcepub fn decisions(&self) -> Option<&[Decision]>
pub fn decisions(&self) -> Option<&[Decision]>
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision
structure for details.
sourcepub fn execution_context(&self) -> Option<&str>
pub fn execution_context(&self) -> Option<&str>
User defined context to add to workflow execution.
source§impl RespondDecisionTaskCompletedInput
impl RespondDecisionTaskCompletedInput
sourcepub fn builder() -> RespondDecisionTaskCompletedInputBuilder
pub fn builder() -> RespondDecisionTaskCompletedInputBuilder
Creates a new builder-style object to manufacture RespondDecisionTaskCompletedInput
.
Trait Implementations§
source§impl Clone for RespondDecisionTaskCompletedInput
impl Clone for RespondDecisionTaskCompletedInput
source§fn clone(&self) -> RespondDecisionTaskCompletedInput
fn clone(&self) -> RespondDecisionTaskCompletedInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<RespondDecisionTaskCompletedInput> for RespondDecisionTaskCompletedInput
impl PartialEq<RespondDecisionTaskCompletedInput> for RespondDecisionTaskCompletedInput
source§fn eq(&self, other: &RespondDecisionTaskCompletedInput) -> bool
fn eq(&self, other: &RespondDecisionTaskCompletedInput) -> bool
self
and other
values to be equal, and is used
by ==
.