Struct aws_sdk_ec2::types::MetricPoint
source · #[non_exhaustive]pub struct MetricPoint {
pub start_date: Option<DateTime>,
pub end_date: Option<DateTime>,
pub value: Option<f32>,
pub status: Option<String>,
}
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.start_date: 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
.
end_date: 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
.
value: Option<f32>
§status: Option<String>
The status of the metric point.
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() -> MetricPointBuilder
pub fn builder() -> MetricPointBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.