pub struct ReservationPurchaseRecommendation {
pub account_scope: Option<String>,
pub lookback_period_in_days: Option<String>,
pub payment_option: Option<String>,
pub recommendation_details: Option<Vec<ReservationPurchaseRecommendationDetail>>,
pub recommendation_summary: Option<ReservationPurchaseRecommendationSummary>,
pub service_specification: Option<ServiceSpecification>,
pub term_in_years: Option<String>,
}
Expand description
A specific reservation that AWS recommends for purchase.
Fields
account_scope: Option<String>
The account scope that AWS recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in AWS Organizations.
lookback_period_in_days: Option<String>
How many days of previous usage that AWS considers when making this recommendation.
payment_option: Option<String>
The payment option for the reservation. For example, AllUpfront
or NoUpfront
.
recommendation_details: Option<Vec<ReservationPurchaseRecommendationDetail>>
Details about the recommended purchases.
recommendation_summary: Option<ReservationPurchaseRecommendationSummary>
A summary about the recommended purchase.
service_specification: Option<ServiceSpecification>
Hardware specifications for the service that you want recommendations for.
term_in_years: Option<String>
The term of the reservation that you want recommendations for, in years.
Trait Implementations
sourceimpl Clone for ReservationPurchaseRecommendation
impl Clone for ReservationPurchaseRecommendation
sourcefn clone(&self) -> ReservationPurchaseRecommendation
fn clone(&self) -> ReservationPurchaseRecommendation
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 ReservationPurchaseRecommendation
impl Default for ReservationPurchaseRecommendation
sourcefn default() -> ReservationPurchaseRecommendation
fn default() -> ReservationPurchaseRecommendation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReservationPurchaseRecommendation
impl<'de> Deserialize<'de> for ReservationPurchaseRecommendation
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<ReservationPurchaseRecommendation> for ReservationPurchaseRecommendation
impl PartialEq<ReservationPurchaseRecommendation> for ReservationPurchaseRecommendation
sourcefn eq(&self, other: &ReservationPurchaseRecommendation) -> bool
fn eq(&self, other: &ReservationPurchaseRecommendation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReservationPurchaseRecommendation) -> bool
fn ne(&self, other: &ReservationPurchaseRecommendation) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReservationPurchaseRecommendation
Auto Trait Implementations
impl RefUnwindSafe for ReservationPurchaseRecommendation
impl Send for ReservationPurchaseRecommendation
impl Sync for ReservationPurchaseRecommendation
impl Unpin for ReservationPurchaseRecommendation
impl UnwindSafe for ReservationPurchaseRecommendation
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