pub struct UtilizationMetric {
pub name: Option<String>,
pub statistic: Option<String>,
pub value: Option<f64>,
}
Expand description
Describes a utilization metric of a resource, such as an Amazon EC2 instance.
Fields§
§name: Option<String>
The name of the 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.
statistic: Option<String>
The statistic of the utilization metric.
value: Option<f64>
The value of the utilization metric.
Trait Implementations§
Source§impl Clone for UtilizationMetric
impl Clone for UtilizationMetric
Source§fn clone(&self) -> UtilizationMetric
fn clone(&self) -> UtilizationMetric
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 UtilizationMetric
impl Debug for UtilizationMetric
Source§impl Default for UtilizationMetric
impl Default for UtilizationMetric
Source§fn default() -> UtilizationMetric
fn default() -> UtilizationMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UtilizationMetric
impl<'de> Deserialize<'de> for UtilizationMetric
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 UtilizationMetric
impl PartialEq for UtilizationMetric
impl StructuralPartialEq for UtilizationMetric
Auto Trait Implementations§
impl Freeze for UtilizationMetric
impl RefUnwindSafe for UtilizationMetric
impl Send for UtilizationMetric
impl Sync for UtilizationMetric
impl Unpin for UtilizationMetric
impl UnwindSafe for UtilizationMetric
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