#[non_exhaustive]pub struct GetActivityTaskOutput {
pub task_token: Option<String>,
pub input: Option<String>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.task_token: Option<String>A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
input: Option<String>The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
Implementations§
source§impl GetActivityTaskOutput
impl GetActivityTaskOutput
sourcepub fn task_token(&self) -> Option<&str>
pub fn task_token(&self) -> Option<&str>
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
source§impl GetActivityTaskOutput
impl GetActivityTaskOutput
sourcepub fn builder() -> GetActivityTaskOutputBuilder
pub fn builder() -> GetActivityTaskOutputBuilder
Creates a new builder-style object to manufacture GetActivityTaskOutput.
Trait Implementations§
source§impl Clone for GetActivityTaskOutput
impl Clone for GetActivityTaskOutput
source§fn clone(&self) -> GetActivityTaskOutput
fn clone(&self) -> GetActivityTaskOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetActivityTaskOutput
impl Debug for GetActivityTaskOutput
source§impl PartialEq for GetActivityTaskOutput
impl PartialEq for GetActivityTaskOutput
source§fn eq(&self, other: &GetActivityTaskOutput) -> bool
fn eq(&self, other: &GetActivityTaskOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetActivityTaskOutput
impl RequestId for GetActivityTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for GetActivityTaskOutput
Auto Trait Implementations§
impl Freeze for GetActivityTaskOutput
impl RefUnwindSafe for GetActivityTaskOutput
impl Send for GetActivityTaskOutput
impl Sync for GetActivityTaskOutput
impl Unpin for GetActivityTaskOutput
impl UnwindSafe for GetActivityTaskOutput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.