#[non_exhaustive]pub struct PutJobFailureResultInput {
pub job_id: Option<String>,
pub failure_details: Option<FailureDetails>,
}
Expand description
Represents the input of a PutJobFailureResult
action.
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.job_id: Option<String>
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
failure_details: Option<FailureDetails>
The details about the failure of a job.
Implementations
sourceimpl PutJobFailureResultInput
impl PutJobFailureResultInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutJobFailureResult, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutJobFailureResult, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutJobFailureResult
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutJobFailureResultInput
sourceimpl PutJobFailureResultInput
impl PutJobFailureResultInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
sourcepub fn failure_details(&self) -> Option<&FailureDetails>
pub fn failure_details(&self) -> Option<&FailureDetails>
The details about the failure of a job.
Trait Implementations
sourceimpl Clone for PutJobFailureResultInput
impl Clone for PutJobFailureResultInput
sourcefn clone(&self) -> PutJobFailureResultInput
fn clone(&self) -> PutJobFailureResultInput
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 PutJobFailureResultInput
impl Debug for PutJobFailureResultInput
sourceimpl PartialEq<PutJobFailureResultInput> for PutJobFailureResultInput
impl PartialEq<PutJobFailureResultInput> for PutJobFailureResultInput
sourcefn eq(&self, other: &PutJobFailureResultInput) -> bool
fn eq(&self, other: &PutJobFailureResultInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutJobFailureResultInput) -> bool
fn ne(&self, other: &PutJobFailureResultInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutJobFailureResultInput
Auto Trait Implementations
impl RefUnwindSafe for PutJobFailureResultInput
impl Send for PutJobFailureResultInput
impl Sync for PutJobFailureResultInput
impl Unpin for PutJobFailureResultInput
impl UnwindSafe for PutJobFailureResultInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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