#[non_exhaustive]pub struct IoTJobExponentialRolloutRate {
pub base_rate_per_minute: i32,
pub increment_factor: f64,
pub rate_increase_criteria: Option<IoTJobRateIncreaseCriteria>,
}
Expand description
Contains information about an exponential rollout rate for a configuration deployment job.
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.base_rate_per_minute: i32
The minimum number of devices that receive a pending job notification, per minute, when the job starts. This parameter defines the initial rollout rate of the job.
increment_factor: f64
The exponential factor to increase the rollout rate for the job.
This parameter supports up to one digit after the decimal (for example, you can specify 1.5
, but not 1.55
).
rate_increase_criteria: Option<IoTJobRateIncreaseCriteria>
The criteria to increase the rollout rate for the job.
Implementations§
source§impl IoTJobExponentialRolloutRate
impl IoTJobExponentialRolloutRate
sourcepub fn base_rate_per_minute(&self) -> i32
pub fn base_rate_per_minute(&self) -> i32
The minimum number of devices that receive a pending job notification, per minute, when the job starts. This parameter defines the initial rollout rate of the job.
sourcepub fn increment_factor(&self) -> f64
pub fn increment_factor(&self) -> f64
The exponential factor to increase the rollout rate for the job.
This parameter supports up to one digit after the decimal (for example, you can specify 1.5
, but not 1.55
).
sourcepub fn rate_increase_criteria(&self) -> Option<&IoTJobRateIncreaseCriteria>
pub fn rate_increase_criteria(&self) -> Option<&IoTJobRateIncreaseCriteria>
The criteria to increase the rollout rate for the job.
source§impl IoTJobExponentialRolloutRate
impl IoTJobExponentialRolloutRate
sourcepub fn builder() -> IoTJobExponentialRolloutRateBuilder
pub fn builder() -> IoTJobExponentialRolloutRateBuilder
Creates a new builder-style object to manufacture IoTJobExponentialRolloutRate
.
Trait Implementations§
source§impl Clone for IoTJobExponentialRolloutRate
impl Clone for IoTJobExponentialRolloutRate
source§fn clone(&self) -> IoTJobExponentialRolloutRate
fn clone(&self) -> IoTJobExponentialRolloutRate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IoTJobExponentialRolloutRate
impl Debug for IoTJobExponentialRolloutRate
source§impl PartialEq for IoTJobExponentialRolloutRate
impl PartialEq for IoTJobExponentialRolloutRate
source§fn eq(&self, other: &IoTJobExponentialRolloutRate) -> bool
fn eq(&self, other: &IoTJobExponentialRolloutRate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IoTJobExponentialRolloutRate
Auto Trait Implementations§
impl Freeze for IoTJobExponentialRolloutRate
impl RefUnwindSafe for IoTJobExponentialRolloutRate
impl Send for IoTJobExponentialRolloutRate
impl Sync for IoTJobExponentialRolloutRate
impl Unpin for IoTJobExponentialRolloutRate
impl UnwindSafe for IoTJobExponentialRolloutRate
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