pub struct RecommendedOptionProjectedMetric {
pub projected_metrics: Option<Vec<ProjectedMetric>>,
pub rank: Option<i64>,
pub recommended_instance_type: Option<String>,
}
Expand description
Describes a projected utilization metric of a recommendation option.
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§
Source§impl Clone for RecommendedOptionProjectedMetric
impl Clone for RecommendedOptionProjectedMetric
Source§fn clone(&self) -> RecommendedOptionProjectedMetric
fn clone(&self) -> RecommendedOptionProjectedMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for RecommendedOptionProjectedMetric
impl Default for RecommendedOptionProjectedMetric
Source§fn default() -> RecommendedOptionProjectedMetric
fn default() -> RecommendedOptionProjectedMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecommendedOptionProjectedMetric
impl<'de> Deserialize<'de> for RecommendedOptionProjectedMetric
Source§fn 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
Source§impl PartialEq for RecommendedOptionProjectedMetric
impl PartialEq for RecommendedOptionProjectedMetric
Source§fn eq(&self, other: &RecommendedOptionProjectedMetric) -> bool
fn eq(&self, other: &RecommendedOptionProjectedMetric) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RecommendedOptionProjectedMetric
Auto Trait Implementations§
impl Freeze for RecommendedOptionProjectedMetric
impl RefUnwindSafe for RecommendedOptionProjectedMetric
impl Send for RecommendedOptionProjectedMetric
impl Sync for RecommendedOptionProjectedMetric
impl Unpin for RecommendedOptionProjectedMetric
impl UnwindSafe for RecommendedOptionProjectedMetric
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more