Struct aws_sdk_iot::types::ExponentialRolloutRate
source · #[non_exhaustive]pub struct ExponentialRolloutRate {
pub base_rate_per_minute: i32,
pub increment_factor: f64,
pub rate_increase_criteria: Option<RateIncreaseCriteria>,
}
Expand description
Allows you to create an exponential rate of rollout for a 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 things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
increment_factor: f64
The exponential factor to increase the rate of rollout for a job.
Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).
rate_increase_criteria: Option<RateIncreaseCriteria>
The criteria to initiate the increase in rate of rollout for a job.
Implementations§
source§impl ExponentialRolloutRate
impl ExponentialRolloutRate
sourcepub fn base_rate_per_minute(&self) -> i32
pub fn base_rate_per_minute(&self) -> i32
The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
sourcepub fn increment_factor(&self) -> f64
pub fn increment_factor(&self) -> f64
The exponential factor to increase the rate of rollout for a job.
Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).
sourcepub fn rate_increase_criteria(&self) -> Option<&RateIncreaseCriteria>
pub fn rate_increase_criteria(&self) -> Option<&RateIncreaseCriteria>
The criteria to initiate the increase in rate of rollout for a job.
source§impl ExponentialRolloutRate
impl ExponentialRolloutRate
sourcepub fn builder() -> ExponentialRolloutRateBuilder
pub fn builder() -> ExponentialRolloutRateBuilder
Creates a new builder-style object to manufacture ExponentialRolloutRate
.
Trait Implementations§
source§impl Clone for ExponentialRolloutRate
impl Clone for ExponentialRolloutRate
source§fn clone(&self) -> ExponentialRolloutRate
fn clone(&self) -> ExponentialRolloutRate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExponentialRolloutRate
impl Debug for ExponentialRolloutRate
source§impl PartialEq for ExponentialRolloutRate
impl PartialEq for ExponentialRolloutRate
source§fn eq(&self, other: &ExponentialRolloutRate) -> bool
fn eq(&self, other: &ExponentialRolloutRate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExponentialRolloutRate
Auto Trait Implementations§
impl Freeze for ExponentialRolloutRate
impl RefUnwindSafe for ExponentialRolloutRate
impl Send for ExponentialRolloutRate
impl Sync for ExponentialRolloutRate
impl Unpin for ExponentialRolloutRate
impl UnwindSafe for ExponentialRolloutRate
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