#[non_exhaustive]pub struct CloudWatchMetricsDataSummary {
pub timestamp_metric_value_pair_list: Option<Vec<TimestampMetricValuePair>>,
pub status_code: Option<CloudWatchMetricDataStatusCode>,
}
Expand description
Contains information about the analyzed metrics that displayed anomalous behavior.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timestamp_metric_value_pair_list: Option<Vec<TimestampMetricValuePair>>
This is a list of Amazon CloudWatch metric values at given timestamp.
status_code: Option<CloudWatchMetricDataStatusCode>
This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.
Implementations§
source§impl CloudWatchMetricsDataSummary
impl CloudWatchMetricsDataSummary
sourcepub fn timestamp_metric_value_pair_list(&self) -> &[TimestampMetricValuePair]
pub fn timestamp_metric_value_pair_list(&self) -> &[TimestampMetricValuePair]
This is a list of Amazon CloudWatch metric values at given timestamp.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .timestamp_metric_value_pair_list.is_none()
.
sourcepub fn status_code(&self) -> Option<&CloudWatchMetricDataStatusCode>
pub fn status_code(&self) -> Option<&CloudWatchMetricDataStatusCode>
This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.
source§impl CloudWatchMetricsDataSummary
impl CloudWatchMetricsDataSummary
sourcepub fn builder() -> CloudWatchMetricsDataSummaryBuilder
pub fn builder() -> CloudWatchMetricsDataSummaryBuilder
Creates a new builder-style object to manufacture CloudWatchMetricsDataSummary
.
Trait Implementations§
source§impl Clone for CloudWatchMetricsDataSummary
impl Clone for CloudWatchMetricsDataSummary
source§fn clone(&self) -> CloudWatchMetricsDataSummary
fn clone(&self) -> CloudWatchMetricsDataSummary
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 CloudWatchMetricsDataSummary
impl Debug for CloudWatchMetricsDataSummary
source§impl PartialEq for CloudWatchMetricsDataSummary
impl PartialEq for CloudWatchMetricsDataSummary
source§fn eq(&self, other: &CloudWatchMetricsDataSummary) -> bool
fn eq(&self, other: &CloudWatchMetricsDataSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchMetricsDataSummary
Auto Trait Implementations§
impl RefUnwindSafe for CloudWatchMetricsDataSummary
impl Send for CloudWatchMetricsDataSummary
impl Sync for CloudWatchMetricsDataSummary
impl Unpin for CloudWatchMetricsDataSummary
impl UnwindSafe for CloudWatchMetricsDataSummary
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.