Struct aws_sdk_ec2::model::MetricPoint
source · #[non_exhaustive]pub struct MetricPoint { /* private fields */ }
Expand description
Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the startDate
to the endDate
. Currently only five_minutes
is supported.
Implementations§
source§impl MetricPoint
impl MetricPoint
sourcepub fn start_date(&self) -> Option<&DateTime>
pub fn start_date(&self) -> Option<&DateTime>
The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.
sourcepub fn end_date(&self) -> Option<&DateTime>
pub fn end_date(&self) -> Option<&DateTime>
The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-12T12:00:00.000Z
.
pub fn value(&self) -> Option<f32>
source§impl MetricPoint
impl MetricPoint
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MetricPoint
.
Trait Implementations§
source§impl Clone for MetricPoint
impl Clone for MetricPoint
source§fn clone(&self) -> MetricPoint
fn clone(&self) -> MetricPoint
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 MetricPoint
impl Debug for MetricPoint
source§impl PartialEq<MetricPoint> for MetricPoint
impl PartialEq<MetricPoint> for MetricPoint
source§fn eq(&self, other: &MetricPoint) -> bool
fn eq(&self, other: &MetricPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.