#[non_exhaustive]pub struct EbsSavingsOpportunityAfterDiscounts {
pub savings_opportunity_percentage: f64,
pub estimated_monthly_savings: Option<EbsEstimatedMonthlySavings>,
}
Expand description
Describes the savings opportunity for Amazon EBS volume recommendations after applying specific discounts.
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 specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
estimated_monthly_savings: Option<EbsEstimatedMonthlySavings>
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
Implementations§
source§impl EbsSavingsOpportunityAfterDiscounts
impl EbsSavingsOpportunityAfterDiscounts
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 specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
sourcepub fn estimated_monthly_savings(&self) -> Option<&EbsEstimatedMonthlySavings>
pub fn estimated_monthly_savings(&self) -> Option<&EbsEstimatedMonthlySavings>
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
source§impl EbsSavingsOpportunityAfterDiscounts
impl EbsSavingsOpportunityAfterDiscounts
sourcepub fn builder() -> EbsSavingsOpportunityAfterDiscountsBuilder
pub fn builder() -> EbsSavingsOpportunityAfterDiscountsBuilder
Creates a new builder-style object to manufacture EbsSavingsOpportunityAfterDiscounts
.
Trait Implementations§
source§impl Clone for EbsSavingsOpportunityAfterDiscounts
impl Clone for EbsSavingsOpportunityAfterDiscounts
source§fn clone(&self) -> EbsSavingsOpportunityAfterDiscounts
fn clone(&self) -> EbsSavingsOpportunityAfterDiscounts
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EbsSavingsOpportunityAfterDiscounts
impl PartialEq for EbsSavingsOpportunityAfterDiscounts
source§fn eq(&self, other: &EbsSavingsOpportunityAfterDiscounts) -> bool
fn eq(&self, other: &EbsSavingsOpportunityAfterDiscounts) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsSavingsOpportunityAfterDiscounts
Auto Trait Implementations§
impl Freeze for EbsSavingsOpportunityAfterDiscounts
impl RefUnwindSafe for EbsSavingsOpportunityAfterDiscounts
impl Send for EbsSavingsOpportunityAfterDiscounts
impl Sync for EbsSavingsOpportunityAfterDiscounts
impl Unpin for EbsSavingsOpportunityAfterDiscounts
impl UnwindSafe for EbsSavingsOpportunityAfterDiscounts
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