Struct aws_sdk_swf::input::RespondActivityTaskFailedInput
source · [−]#[non_exhaustive]pub struct RespondActivityTaskFailedInput {
pub task_token: Option<String>,
pub reason: Option<String>,
pub details: Option<String>,
}
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
of the ActivityTask
.
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.
reason: Option<String>
Description of the error that may assist in diagnostics.
details: Option<String>
Detailed information about the failure.
Implementations
sourceimpl RespondActivityTaskFailedInput
impl RespondActivityTaskFailedInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondActivityTaskFailed, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondActivityTaskFailed, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RespondActivityTaskFailed
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RespondActivityTaskFailedInput
sourceimpl RespondActivityTaskFailedInput
impl RespondActivityTaskFailedInput
sourcepub fn task_token(&self) -> Option<&str>
pub fn task_token(&self) -> Option<&str>
The taskToken
of the ActivityTask
.
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.
Trait Implementations
sourceimpl Clone for RespondActivityTaskFailedInput
impl Clone for RespondActivityTaskFailedInput
sourcefn clone(&self) -> RespondActivityTaskFailedInput
fn clone(&self) -> RespondActivityTaskFailedInput
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<RespondActivityTaskFailedInput> for RespondActivityTaskFailedInput
impl PartialEq<RespondActivityTaskFailedInput> for RespondActivityTaskFailedInput
sourcefn eq(&self, other: &RespondActivityTaskFailedInput) -> bool
fn eq(&self, other: &RespondActivityTaskFailedInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RespondActivityTaskFailedInput) -> bool
fn ne(&self, other: &RespondActivityTaskFailedInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for RespondActivityTaskFailedInput
Auto Trait Implementations
impl RefUnwindSafe for RespondActivityTaskFailedInput
impl Send for RespondActivityTaskFailedInput
impl Sync for RespondActivityTaskFailedInput
impl Unpin for RespondActivityTaskFailedInput
impl UnwindSafe for RespondActivityTaskFailedInput
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