[−][src]Struct rusoto_cloudwatch::MetricStat
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, in seconds, to use when retrieving the metric.
stat: String
The statistic to return. It can include any CloudWatch statistic or extended statistic.
unit: Option<String>
When you are using a Put
operation, this defines what unit you want to use when storing the metric.
In a Get
operation, if you omit Unit
then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
Trait Implementations
impl Clone for MetricStat
[src]
fn clone(&self) -> MetricStat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for MetricStat
[src]
fn default() -> MetricStat
[src]
impl PartialEq<MetricStat> for MetricStat
[src]
fn eq(&self, other: &MetricStat) -> bool
[src]
fn ne(&self, other: &MetricStat) -> bool
[src]
impl Debug for MetricStat
[src]
impl StructuralPartialEq for MetricStat
[src]
Auto Trait Implementations
impl Send for MetricStat
impl Sync for MetricStat
impl Unpin for MetricStat
impl UnwindSafe for MetricStat
impl RefUnwindSafe for MetricStat
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self