#[non_exhaustive]pub struct EcsSavingsOpportunityAfterDiscounts {
pub savings_opportunity_percentage: f64,
pub estimated_monthly_savings: Option<EcsEstimatedMonthlySavings>,
}Expand description
Describes the savings opportunity for Amazon ECS service recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
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: f64The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
estimated_monthly_savings: Option<EcsEstimatedMonthlySavings>The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
Implementations§
source§impl EcsSavingsOpportunityAfterDiscounts
impl EcsSavingsOpportunityAfterDiscounts
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 by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn estimated_monthly_savings(&self) -> Option<&EcsEstimatedMonthlySavings>
pub fn estimated_monthly_savings(&self) -> Option<&EcsEstimatedMonthlySavings>
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
source§impl EcsSavingsOpportunityAfterDiscounts
impl EcsSavingsOpportunityAfterDiscounts
sourcepub fn builder() -> EcsSavingsOpportunityAfterDiscountsBuilder
pub fn builder() -> EcsSavingsOpportunityAfterDiscountsBuilder
Creates a new builder-style object to manufacture EcsSavingsOpportunityAfterDiscounts.
Trait Implementations§
source§impl Clone for EcsSavingsOpportunityAfterDiscounts
impl Clone for EcsSavingsOpportunityAfterDiscounts
source§fn clone(&self) -> EcsSavingsOpportunityAfterDiscounts
fn clone(&self) -> EcsSavingsOpportunityAfterDiscounts
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for EcsSavingsOpportunityAfterDiscounts
impl PartialEq for EcsSavingsOpportunityAfterDiscounts
source§fn eq(&self, other: &EcsSavingsOpportunityAfterDiscounts) -> bool
fn eq(&self, other: &EcsSavingsOpportunityAfterDiscounts) -> bool
self and other values to be equal, and is used
by ==.