#[non_exhaustive]pub struct AutoScalingGroupSavingsOpportunityAfterDiscounts {
pub savings_opportunity_percentage: f64,
pub estimated_monthly_savings: Option<AutoScalingGroupEstimatedMonthlySavings>,
}
Expand description
Describes the savings opportunity for Auto Scaling group recommendations after applying the Savings Plans and Reserved Instances discounts.
Savings opportunity represents the estimated monthly savings you can achieve by implementing Compute Optimizer recommendations.
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.savings_opportunity_percentage: f64
The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.
estimated_monthly_savings: Option<AutoScalingGroupEstimatedMonthlySavings>
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
Implementations§
source§impl AutoScalingGroupSavingsOpportunityAfterDiscounts
impl AutoScalingGroupSavingsOpportunityAfterDiscounts
sourcepub fn savings_opportunity_percentage(&self) -> f64
pub fn savings_opportunity_percentage(&self) -> f64
The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.
sourcepub fn estimated_monthly_savings(
&self
) -> Option<&AutoScalingGroupEstimatedMonthlySavings>
pub fn estimated_monthly_savings( &self ) -> Option<&AutoScalingGroupEstimatedMonthlySavings>
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
source§impl AutoScalingGroupSavingsOpportunityAfterDiscounts
impl AutoScalingGroupSavingsOpportunityAfterDiscounts
sourcepub fn builder() -> AutoScalingGroupSavingsOpportunityAfterDiscountsBuilder
pub fn builder() -> AutoScalingGroupSavingsOpportunityAfterDiscountsBuilder
Creates a new builder-style object to manufacture AutoScalingGroupSavingsOpportunityAfterDiscounts
.
Trait Implementations§
source§impl Clone for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl Clone for AutoScalingGroupSavingsOpportunityAfterDiscounts
source§fn clone(&self) -> AutoScalingGroupSavingsOpportunityAfterDiscounts
fn clone(&self) -> AutoScalingGroupSavingsOpportunityAfterDiscounts
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl PartialEq for AutoScalingGroupSavingsOpportunityAfterDiscounts
source§fn eq(&self, other: &AutoScalingGroupSavingsOpportunityAfterDiscounts) -> bool
fn eq(&self, other: &AutoScalingGroupSavingsOpportunityAfterDiscounts) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoScalingGroupSavingsOpportunityAfterDiscounts
Auto Trait Implementations§
impl Freeze for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl RefUnwindSafe for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl Send for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl Sync for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl Unpin for AutoScalingGroupSavingsOpportunityAfterDiscounts
impl UnwindSafe for AutoScalingGroupSavingsOpportunityAfterDiscounts
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