Struct aws_sdk_mturk::model::NotifyWorkersFailureStatus
source · [−]#[non_exhaustive]pub struct NotifyWorkersFailureStatus {
pub notify_workers_failure_code: Option<NotifyWorkersFailureCode>,
pub notify_workers_failure_message: Option<String>,
pub worker_id: Option<String>,
}
Expand description
When MTurk encounters an issue with notifying the Workers you specified, it returns back this object with failure details.
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.notify_workers_failure_code: Option<NotifyWorkersFailureCode>
Encoded value for the failure type.
notify_workers_failure_message: Option<String>
A message detailing the reason the Worker could not be notified.
worker_id: Option<String>
The ID of the Worker.
Implementations
sourceimpl NotifyWorkersFailureStatus
impl NotifyWorkersFailureStatus
sourcepub fn notify_workers_failure_code(&self) -> Option<&NotifyWorkersFailureCode>
pub fn notify_workers_failure_code(&self) -> Option<&NotifyWorkersFailureCode>
Encoded value for the failure type.
sourcepub fn notify_workers_failure_message(&self) -> Option<&str>
pub fn notify_workers_failure_message(&self) -> Option<&str>
A message detailing the reason the Worker could not be notified.
sourceimpl NotifyWorkersFailureStatus
impl NotifyWorkersFailureStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NotifyWorkersFailureStatus
Trait Implementations
sourceimpl Clone for NotifyWorkersFailureStatus
impl Clone for NotifyWorkersFailureStatus
sourcefn clone(&self) -> NotifyWorkersFailureStatus
fn clone(&self) -> NotifyWorkersFailureStatus
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 Debug for NotifyWorkersFailureStatus
impl Debug for NotifyWorkersFailureStatus
sourceimpl PartialEq<NotifyWorkersFailureStatus> for NotifyWorkersFailureStatus
impl PartialEq<NotifyWorkersFailureStatus> for NotifyWorkersFailureStatus
sourcefn eq(&self, other: &NotifyWorkersFailureStatus) -> bool
fn eq(&self, other: &NotifyWorkersFailureStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NotifyWorkersFailureStatus) -> bool
fn ne(&self, other: &NotifyWorkersFailureStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for NotifyWorkersFailureStatus
Auto Trait Implementations
impl RefUnwindSafe for NotifyWorkersFailureStatus
impl Send for NotifyWorkersFailureStatus
impl Sync for NotifyWorkersFailureStatus
impl Unpin for NotifyWorkersFailureStatus
impl UnwindSafe for NotifyWorkersFailureStatus
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