Struct aws_sdk_devopsguru::model::CloudWatchMetricsDetail
source · [−]#[non_exhaustive]pub struct CloudWatchMetricsDetail {
pub metric_name: Option<String>,
pub namespace: Option<String>,
pub dimensions: Option<Vec<CloudWatchMetricsDimension>>,
pub stat: Option<CloudWatchMetricsStat>,
pub unit: Option<String>,
pub period: i32,
pub metric_data_summary: Option<CloudWatchMetricsDataSummary>,
}
Expand description
Information about an Amazon CloudWatch metric.
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.metric_name: Option<String>
The name of the CloudWatch metric.
namespace: Option<String>
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
dimensions: Option<Vec<CloudWatchMetricsDimension>>
An array of CloudWatch dimensions associated with
stat: Option<CloudWatchMetricsStat>
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
unit: Option<String>
The unit of measure used for the CloudWatch metric. For example, Bytes
, Seconds
, Count
, and Percent
.
period: i32
The length of time associated with the CloudWatch metric in number of seconds.
metric_data_summary: Option<CloudWatchMetricsDataSummary>
This object returns anomaly metric data.
Implementations
sourceimpl CloudWatchMetricsDetail
impl CloudWatchMetricsDetail
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the CloudWatch metric.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
sourcepub fn dimensions(&self) -> Option<&[CloudWatchMetricsDimension]>
pub fn dimensions(&self) -> Option<&[CloudWatchMetricsDimension]>
An array of CloudWatch dimensions associated with
sourcepub fn stat(&self) -> Option<&CloudWatchMetricsStat>
pub fn stat(&self) -> Option<&CloudWatchMetricsStat>
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
sourcepub fn unit(&self) -> Option<&str>
pub fn unit(&self) -> Option<&str>
The unit of measure used for the CloudWatch metric. For example, Bytes
, Seconds
, Count
, and Percent
.
sourcepub fn period(&self) -> i32
pub fn period(&self) -> i32
The length of time associated with the CloudWatch metric in number of seconds.
sourcepub fn metric_data_summary(&self) -> Option<&CloudWatchMetricsDataSummary>
pub fn metric_data_summary(&self) -> Option<&CloudWatchMetricsDataSummary>
This object returns anomaly metric data.
sourceimpl CloudWatchMetricsDetail
impl CloudWatchMetricsDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudWatchMetricsDetail
.
Trait Implementations
sourceimpl Clone for CloudWatchMetricsDetail
impl Clone for CloudWatchMetricsDetail
sourcefn clone(&self) -> CloudWatchMetricsDetail
fn clone(&self) -> CloudWatchMetricsDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CloudWatchMetricsDetail
impl Debug for CloudWatchMetricsDetail
sourceimpl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
impl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
sourcefn eq(&self, other: &CloudWatchMetricsDetail) -> bool
fn eq(&self, other: &CloudWatchMetricsDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CloudWatchMetricsDetail) -> bool
fn ne(&self, other: &CloudWatchMetricsDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for CloudWatchMetricsDetail
Auto Trait Implementations
impl RefUnwindSafe for CloudWatchMetricsDetail
impl Send for CloudWatchMetricsDetail
impl Sync for CloudWatchMetricsDetail
impl Unpin for CloudWatchMetricsDetail
impl UnwindSafe for CloudWatchMetricsDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more