Struct aws_sdk_iot::types::JobProcessDetails
source · #[non_exhaustive]pub struct JobProcessDetails {
pub processing_targets: Option<Vec<String>>,
pub number_of_canceled_things: Option<i32>,
pub number_of_succeeded_things: Option<i32>,
pub number_of_failed_things: Option<i32>,
pub number_of_rejected_things: Option<i32>,
pub number_of_queued_things: Option<i32>,
pub number_of_in_progress_things: Option<i32>,
pub number_of_removed_things: Option<i32>,
pub number_of_timed_out_things: Option<i32>,
}
Expand description
The job process 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.processing_targets: Option<Vec<String>>
The target devices to which the job execution is being rolled out. This value will be null after the job execution has finished rolling out to all the target devices.
number_of_canceled_things: Option<i32>
The number of things that cancelled the job.
number_of_succeeded_things: Option<i32>
The number of things which successfully completed the job.
number_of_failed_things: Option<i32>
The number of things that failed executing the job.
number_of_rejected_things: Option<i32>
The number of things that rejected the job.
number_of_queued_things: Option<i32>
The number of things that are awaiting execution of the job.
number_of_in_progress_things: Option<i32>
The number of things currently executing the job.
number_of_removed_things: Option<i32>
The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job.
number_of_timed_out_things: Option<i32>
The number of things whose job execution status is TIMED_OUT
.
Implementations§
source§impl JobProcessDetails
impl JobProcessDetails
sourcepub fn processing_targets(&self) -> &[String]
pub fn processing_targets(&self) -> &[String]
The target devices to which the job execution is being rolled out. This value will be null after the job execution has finished rolling out to all the target devices.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .processing_targets.is_none()
.
sourcepub fn number_of_canceled_things(&self) -> Option<i32>
pub fn number_of_canceled_things(&self) -> Option<i32>
The number of things that cancelled the job.
sourcepub fn number_of_succeeded_things(&self) -> Option<i32>
pub fn number_of_succeeded_things(&self) -> Option<i32>
The number of things which successfully completed the job.
sourcepub fn number_of_failed_things(&self) -> Option<i32>
pub fn number_of_failed_things(&self) -> Option<i32>
The number of things that failed executing the job.
sourcepub fn number_of_rejected_things(&self) -> Option<i32>
pub fn number_of_rejected_things(&self) -> Option<i32>
The number of things that rejected the job.
sourcepub fn number_of_queued_things(&self) -> Option<i32>
pub fn number_of_queued_things(&self) -> Option<i32>
The number of things that are awaiting execution of the job.
sourcepub fn number_of_in_progress_things(&self) -> Option<i32>
pub fn number_of_in_progress_things(&self) -> Option<i32>
The number of things currently executing the job.
sourcepub fn number_of_removed_things(&self) -> Option<i32>
pub fn number_of_removed_things(&self) -> Option<i32>
The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job.
sourcepub fn number_of_timed_out_things(&self) -> Option<i32>
pub fn number_of_timed_out_things(&self) -> Option<i32>
The number of things whose job execution status is TIMED_OUT
.
source§impl JobProcessDetails
impl JobProcessDetails
sourcepub fn builder() -> JobProcessDetailsBuilder
pub fn builder() -> JobProcessDetailsBuilder
Creates a new builder-style object to manufacture JobProcessDetails
.
Trait Implementations§
source§impl Clone for JobProcessDetails
impl Clone for JobProcessDetails
source§fn clone(&self) -> JobProcessDetails
fn clone(&self) -> JobProcessDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobProcessDetails
impl Debug for JobProcessDetails
source§impl PartialEq for JobProcessDetails
impl PartialEq for JobProcessDetails
source§fn eq(&self, other: &JobProcessDetails) -> bool
fn eq(&self, other: &JobProcessDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobProcessDetails
Auto Trait Implementations§
impl Freeze for JobProcessDetails
impl RefUnwindSafe for JobProcessDetails
impl Send for JobProcessDetails
impl Sync for JobProcessDetails
impl Unpin for JobProcessDetails
impl UnwindSafe for JobProcessDetails
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