#[non_exhaustive]pub struct RecommendationSummary {
pub summaries: Option<Vec<Summary>>,
pub recommendation_resource_type: Option<RecommendationSourceType>,
pub account_id: Option<String>,
pub savings_opportunity: Option<SavingsOpportunity>,
pub current_performance_risk_ratings: Option<CurrentPerformanceRiskRatings>,
}
Expand description
A summary of a 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.summaries: Option<Vec<Summary>>
An array of objects that describe a recommendation summary.
recommendation_resource_type: Option<RecommendationSourceType>
The resource type that the recommendation summary applies to.
account_id: Option<String>
The Amazon Web Services account ID of the recommendation summary.
savings_opportunity: Option<SavingsOpportunity>
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
current_performance_risk_ratings: Option<CurrentPerformanceRiskRatings>
An object that describes the performance risk ratings for a given resource type.
Implementations
sourceimpl RecommendationSummary
impl RecommendationSummary
sourcepub fn summaries(&self) -> Option<&[Summary]>
pub fn summaries(&self) -> Option<&[Summary]>
An array of objects that describe a recommendation summary.
sourcepub fn recommendation_resource_type(&self) -> Option<&RecommendationSourceType>
pub fn recommendation_resource_type(&self) -> Option<&RecommendationSourceType>
The resource type that the recommendation summary applies to.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the recommendation summary.
sourcepub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
pub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
sourcepub fn current_performance_risk_ratings(
&self
) -> Option<&CurrentPerformanceRiskRatings>
pub fn current_performance_risk_ratings(
&self
) -> Option<&CurrentPerformanceRiskRatings>
An object that describes the performance risk ratings for a given resource type.
sourceimpl RecommendationSummary
impl RecommendationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationSummary
Trait Implementations
sourceimpl Clone for RecommendationSummary
impl Clone for RecommendationSummary
sourcefn clone(&self) -> RecommendationSummary
fn clone(&self) -> RecommendationSummary
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 Debug for RecommendationSummary
impl Debug for RecommendationSummary
sourceimpl PartialEq<RecommendationSummary> for RecommendationSummary
impl PartialEq<RecommendationSummary> for RecommendationSummary
sourcefn eq(&self, other: &RecommendationSummary) -> bool
fn eq(&self, other: &RecommendationSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RecommendationSummary) -> bool
fn ne(&self, other: &RecommendationSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for RecommendationSummary
Auto Trait Implementations
impl RefUnwindSafe for RecommendationSummary
impl Send for RecommendationSummary
impl Sync for RecommendationSummary
impl Unpin for RecommendationSummary
impl UnwindSafe for RecommendationSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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