#[non_exhaustive]pub struct BatchStopJobRunOutput {
pub successful_submissions: Option<Vec<BatchStopJobRunSuccessfulSubmission>>,
pub errors: Option<Vec<BatchStopJobRunError>>,
/* private fields */
}
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.successful_submissions: Option<Vec<BatchStopJobRunSuccessfulSubmission>>
A list of the JobRuns that were successfully submitted for stopping.
errors: Option<Vec<BatchStopJobRunError>>
A list of the errors that were encountered in trying to stop JobRuns
, including the JobRunId
for which each error was encountered and details about the error.
Implementations§
source§impl BatchStopJobRunOutput
impl BatchStopJobRunOutput
sourcepub fn successful_submissions(&self) -> &[BatchStopJobRunSuccessfulSubmission]
pub fn successful_submissions(&self) -> &[BatchStopJobRunSuccessfulSubmission]
A list of the JobRuns that were successfully submitted for stopping.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .successful_submissions.is_none()
.
sourcepub fn errors(&self) -> &[BatchStopJobRunError]
pub fn errors(&self) -> &[BatchStopJobRunError]
A list of the errors that were encountered in trying to stop JobRuns
, including the JobRunId
for which each error was encountered and details about the error.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
source§impl BatchStopJobRunOutput
impl BatchStopJobRunOutput
sourcepub fn builder() -> BatchStopJobRunOutputBuilder
pub fn builder() -> BatchStopJobRunOutputBuilder
Creates a new builder-style object to manufacture BatchStopJobRunOutput
.
Trait Implementations§
source§impl Clone for BatchStopJobRunOutput
impl Clone for BatchStopJobRunOutput
source§fn clone(&self) -> BatchStopJobRunOutput
fn clone(&self) -> BatchStopJobRunOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchStopJobRunOutput
impl Debug for BatchStopJobRunOutput
source§impl PartialEq for BatchStopJobRunOutput
impl PartialEq for BatchStopJobRunOutput
source§fn eq(&self, other: &BatchStopJobRunOutput) -> bool
fn eq(&self, other: &BatchStopJobRunOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchStopJobRunOutput
impl RequestId for BatchStopJobRunOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for BatchStopJobRunOutput
Auto Trait Implementations§
impl Freeze for BatchStopJobRunOutput
impl RefUnwindSafe for BatchStopJobRunOutput
impl Send for BatchStopJobRunOutput
impl Sync for BatchStopJobRunOutput
impl Unpin for BatchStopJobRunOutput
impl UnwindSafe for BatchStopJobRunOutput
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
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>
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>
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 more