pub struct ProjectedMetric {
pub name: Option<String>,
pub timestamps: Option<Vec<f64>>,
pub values: Option<Vec<f64>>,
}
Expand description
Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance.
Fields§
§name: Option<String>
The name of the projected utilization metric.
Memory metrics are only returned for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
timestamps: Option<Vec<f64>>
The time stamps of the projected utilization metric.
values: Option<Vec<f64>>
The values of the projected utilization metrics.
Trait Implementations§
Source§impl Clone for ProjectedMetric
impl Clone for ProjectedMetric
Source§fn clone(&self) -> ProjectedMetric
fn clone(&self) -> ProjectedMetric
Returns a copy 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 Debug for ProjectedMetric
impl Debug for ProjectedMetric
Source§impl Default for ProjectedMetric
impl Default for ProjectedMetric
Source§fn default() -> ProjectedMetric
fn default() -> ProjectedMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectedMetric
impl<'de> Deserialize<'de> for ProjectedMetric
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 ProjectedMetric
impl PartialEq for ProjectedMetric
impl StructuralPartialEq for ProjectedMetric
Auto Trait Implementations§
impl Freeze for ProjectedMetric
impl RefUnwindSafe for ProjectedMetric
impl Send for ProjectedMetric
impl Sync for ProjectedMetric
impl Unpin for ProjectedMetric
impl UnwindSafe for ProjectedMetric
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