Struct aws_sdk_iot::types::AwsJobRateIncreaseCriteria
source · #[non_exhaustive]pub struct AwsJobRateIncreaseCriteria {
pub number_of_notified_things: Option<i32>,
pub number_of_succeeded_things: Option<i32>,
}
Expand description
The criteria to initiate the increase in rate of rollout for a job.
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.number_of_notified_things: Option<i32>
When this number of things have been notified, it will initiate an increase in the rollout rate.
number_of_succeeded_things: Option<i32>
When this number of things have succeeded in their job execution, it will initiate an increase in the rollout rate.
Implementations§
source§impl AwsJobRateIncreaseCriteria
impl AwsJobRateIncreaseCriteria
sourcepub fn number_of_notified_things(&self) -> Option<i32>
pub fn number_of_notified_things(&self) -> Option<i32>
When this number of things have been notified, it will initiate an increase in the rollout rate.
sourcepub fn number_of_succeeded_things(&self) -> Option<i32>
pub fn number_of_succeeded_things(&self) -> Option<i32>
When this number of things have succeeded in their job execution, it will initiate an increase in the rollout rate.
source§impl AwsJobRateIncreaseCriteria
impl AwsJobRateIncreaseCriteria
sourcepub fn builder() -> AwsJobRateIncreaseCriteriaBuilder
pub fn builder() -> AwsJobRateIncreaseCriteriaBuilder
Creates a new builder-style object to manufacture AwsJobRateIncreaseCriteria
.
Trait Implementations§
source§impl Clone for AwsJobRateIncreaseCriteria
impl Clone for AwsJobRateIncreaseCriteria
source§fn clone(&self) -> AwsJobRateIncreaseCriteria
fn clone(&self) -> AwsJobRateIncreaseCriteria
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 AwsJobRateIncreaseCriteria
impl Debug for AwsJobRateIncreaseCriteria
source§impl PartialEq for AwsJobRateIncreaseCriteria
impl PartialEq for AwsJobRateIncreaseCriteria
source§fn eq(&self, other: &AwsJobRateIncreaseCriteria) -> bool
fn eq(&self, other: &AwsJobRateIncreaseCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsJobRateIncreaseCriteria
Auto Trait Implementations§
impl Freeze for AwsJobRateIncreaseCriteria
impl RefUnwindSafe for AwsJobRateIncreaseCriteria
impl Send for AwsJobRateIncreaseCriteria
impl Sync for AwsJobRateIncreaseCriteria
impl Unpin for AwsJobRateIncreaseCriteria
impl UnwindSafe for AwsJobRateIncreaseCriteria
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.