pub struct SavingsPlansPurchaseRecommendation {
pub account_scope: Option<String>,
pub lookback_period_in_days: Option<String>,
pub payment_option: Option<String>,
pub savings_plans_purchase_recommendation_details: Option<Vec<SavingsPlansPurchaseRecommendationDetail>>,
pub savings_plans_purchase_recommendation_summary: Option<SavingsPlansPurchaseRecommendationSummary>,
pub savings_plans_type: Option<String>,
pub term_in_years: Option<String>,
}
Expand description
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
Fields
account_scope: Option<String>
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER
. If the value is LINKED
, recommendations are calculated for individual member accounts only.
lookback_period_in_days: Option<String>
The lookback period in days, used to generate the recommendation.
payment_option: Option<String>
The payment option used to generate the recommendation.
savings_plans_purchase_recommendation_details: Option<Vec<SavingsPlansPurchaseRecommendationDetail>>
Details for the Savings Plans we recommend that you purchase to cover existing Savings Plans eligible workloads.
savings_plans_purchase_recommendation_summary: Option<SavingsPlansPurchaseRecommendationSummary>
Summary metrics for your Savings Plans Recommendations.
savings_plans_type: Option<String>
The requested Savings Plans recommendation type.
term_in_years: Option<String>
The Savings Plans recommendation term in years, used to generate the recommendation.
Trait Implementations
sourceimpl Clone for SavingsPlansPurchaseRecommendation
impl Clone for SavingsPlansPurchaseRecommendation
sourcefn clone(&self) -> SavingsPlansPurchaseRecommendation
fn clone(&self) -> SavingsPlansPurchaseRecommendation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SavingsPlansPurchaseRecommendation
impl Default for SavingsPlansPurchaseRecommendation
sourcefn default() -> SavingsPlansPurchaseRecommendation
fn default() -> SavingsPlansPurchaseRecommendation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SavingsPlansPurchaseRecommendation
impl<'de> Deserialize<'de> for SavingsPlansPurchaseRecommendation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SavingsPlansPurchaseRecommendation> for SavingsPlansPurchaseRecommendation
impl PartialEq<SavingsPlansPurchaseRecommendation> for SavingsPlansPurchaseRecommendation
sourcefn eq(&self, other: &SavingsPlansPurchaseRecommendation) -> bool
fn eq(&self, other: &SavingsPlansPurchaseRecommendation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SavingsPlansPurchaseRecommendation) -> bool
fn ne(&self, other: &SavingsPlansPurchaseRecommendation) -> bool
This method tests for !=
.
impl StructuralPartialEq for SavingsPlansPurchaseRecommendation
Auto Trait Implementations
impl RefUnwindSafe for SavingsPlansPurchaseRecommendation
impl Send for SavingsPlansPurchaseRecommendation
impl Sync for SavingsPlansPurchaseRecommendation
impl Unpin for SavingsPlansPurchaseRecommendation
impl UnwindSafe for SavingsPlansPurchaseRecommendation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more