[][src]Struct rusoto_compute_optimizer::RecommendedOptionProjectedMetric

pub struct RecommendedOptionProjectedMetric {
    pub projected_metrics: Option<Vec<ProjectedMetric>>,
    pub rank: Option<i64>,
    pub recommended_instance_type: Option<String>,
}

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Fields

projected_metrics: Option<Vec<ProjectedMetric>>

An array of objects that describe a projected utilization metric.

rank: Option<i64>

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

recommended_instance_type: Option<String>

The recommended instance type.

Trait Implementations

impl Clone for RecommendedOptionProjectedMetric[src]

impl Debug for RecommendedOptionProjectedMetric[src]

impl Default for RecommendedOptionProjectedMetric[src]

impl<'de> Deserialize<'de> for RecommendedOptionProjectedMetric[src]

impl PartialEq<RecommendedOptionProjectedMetric> for RecommendedOptionProjectedMetric[src]

impl StructuralPartialEq for RecommendedOptionProjectedMetric[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.