#[non_exhaustive]pub struct LambdaSavingsOpportunityAfterDiscounts {
pub savings_opportunity_percentage: f64,
pub estimated_monthly_savings: Option<LambdaEstimatedMonthlySavings>,
}
Expand description
Describes the savings opportunity for Lambda functions 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: f64
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
estimated_monthly_savings: Option<LambdaEstimatedMonthlySavings>
The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
Implementations§
source§impl LambdaSavingsOpportunityAfterDiscounts
impl LambdaSavingsOpportunityAfterDiscounts
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 Lambda function recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn estimated_monthly_savings(
&self
) -> Option<&LambdaEstimatedMonthlySavings>
pub fn estimated_monthly_savings( &self ) -> Option<&LambdaEstimatedMonthlySavings>
The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
source§impl LambdaSavingsOpportunityAfterDiscounts
impl LambdaSavingsOpportunityAfterDiscounts
sourcepub fn builder() -> LambdaSavingsOpportunityAfterDiscountsBuilder
pub fn builder() -> LambdaSavingsOpportunityAfterDiscountsBuilder
Creates a new builder-style object to manufacture LambdaSavingsOpportunityAfterDiscounts
.
Trait Implementations§
source§impl Clone for LambdaSavingsOpportunityAfterDiscounts
impl Clone for LambdaSavingsOpportunityAfterDiscounts
source§fn clone(&self) -> LambdaSavingsOpportunityAfterDiscounts
fn clone(&self) -> LambdaSavingsOpportunityAfterDiscounts
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for LambdaSavingsOpportunityAfterDiscounts
impl PartialEq for LambdaSavingsOpportunityAfterDiscounts
source§fn eq(&self, other: &LambdaSavingsOpportunityAfterDiscounts) -> bool
fn eq(&self, other: &LambdaSavingsOpportunityAfterDiscounts) -> bool
self
and other
values to be equal, and is used
by ==
.