Struct rusoto_cloudwatch::MetricStat [−][src]
pub struct MetricStat { pub metric: Metric, pub period: i64, pub stat: String, pub unit: Option<String>, }
This structure defines the metric to be returned, along with the statistics, period, and units.
Fields
metric: Metric
The metric to return, including the metric name, namespace, and dimensions.
period: i64
The period to use when retrieving the metric.
stat: String
The statistic to return. It can include any CloudWatch statistic or extended statistic.
unit: Option<String>
The unit to use for the returned data points.
Trait Implementations
impl Default for MetricStat
[src]
impl Default for MetricStat
fn default() -> MetricStat
[src]
fn default() -> MetricStat
Returns the "default value" for a type. Read more
impl Debug for MetricStat
[src]
impl Debug for MetricStat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MetricStat
[src]
impl Clone for MetricStat
fn clone(&self) -> MetricStat
[src]
fn clone(&self) -> MetricStat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MetricStat
[src]
impl PartialEq for MetricStat
fn eq(&self, other: &MetricStat) -> bool
[src]
fn eq(&self, other: &MetricStat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MetricStat) -> bool
[src]
fn ne(&self, other: &MetricStat) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MetricStat
impl Send for MetricStat
impl Sync for MetricStat
impl Sync for MetricStat