#[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
sourceimpl RespondDecisionTaskCompletedInput
impl RespondDecisionTaskCompletedInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondDecisionTaskCompleted, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondDecisionTaskCompleted, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RespondDecisionTaskCompleted
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RespondDecisionTaskCompletedInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for RespondDecisionTaskCompletedInput
impl Clone for RespondDecisionTaskCompletedInput
sourcefn clone(&self) -> RespondDecisionTaskCompletedInput
fn clone(&self) -> RespondDecisionTaskCompletedInput
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<RespondDecisionTaskCompletedInput> for RespondDecisionTaskCompletedInput
impl PartialEq<RespondDecisionTaskCompletedInput> for RespondDecisionTaskCompletedInput
sourcefn eq(&self, other: &RespondDecisionTaskCompletedInput) -> bool
fn eq(&self, other: &RespondDecisionTaskCompletedInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RespondDecisionTaskCompletedInput) -> bool
fn ne(&self, other: &RespondDecisionTaskCompletedInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for RespondDecisionTaskCompletedInput
Auto Trait Implementations
impl RefUnwindSafe for RespondDecisionTaskCompletedInput
impl Send for RespondDecisionTaskCompletedInput
impl Sync for RespondDecisionTaskCompletedInput
impl Unpin for RespondDecisionTaskCompletedInput
impl UnwindSafe for RespondDecisionTaskCompletedInput
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> 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