[−][src]Struct rusoto_compute_optimizer::InstanceRecommendationOption
Describes a recommendation option for an Amazon EC2 instance.
Fields
instance_type: Option<String>
The instance type of the instance recommendation.
performance_risk: Option<f64>
The performance risk of the instance recommendation option.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
projected_utilization_metrics: Option<Vec<UtilizationMetric>>
An array of objects that describe the projected utilization metrics of the instance recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned. 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.
rank: Option<i64>
The rank of the instance recommendation option.
The top recommendation option is ranked as 1
.
Trait Implementations
impl Clone for InstanceRecommendationOption
[src]
pub fn clone(&self) -> InstanceRecommendationOption
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InstanceRecommendationOption
[src]
impl Default for InstanceRecommendationOption
[src]
pub fn default() -> InstanceRecommendationOption
[src]
impl<'de> Deserialize<'de> for InstanceRecommendationOption
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<InstanceRecommendationOption> for InstanceRecommendationOption
[src]
pub fn eq(&self, other: &InstanceRecommendationOption) -> bool
[src]
pub fn ne(&self, other: &InstanceRecommendationOption) -> bool
[src]
impl StructuralPartialEq for InstanceRecommendationOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceRecommendationOption
[src]
impl Send for InstanceRecommendationOption
[src]
impl Sync for InstanceRecommendationOption
[src]
impl Unpin for InstanceRecommendationOption
[src]
impl UnwindSafe for InstanceRecommendationOption
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,