pub struct AlarmMetricStat {
pub namespace: Option<String>,
pub metric_name: Option<String>,
pub dimensions: BTreeMap<String, String>,
pub period: Option<i64>,
pub stat: Option<String>,
pub unit: Option<String>,
}Expand description
The MetricStat of an AlarmMetricQuery (a metric plus how to aggregate
it).
Fields§
§namespace: Option<String>§metric_name: Option<String>§dimensions: BTreeMap<String, String>§period: Option<i64>§stat: Option<String>§unit: Option<String>Trait Implementations§
Source§impl Clone for AlarmMetricStat
impl Clone for AlarmMetricStat
Source§fn clone(&self) -> AlarmMetricStat
fn clone(&self) -> AlarmMetricStat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlarmMetricStat
impl Debug for AlarmMetricStat
Source§impl Default for AlarmMetricStat
impl Default for AlarmMetricStat
Source§fn default() -> AlarmMetricStat
fn default() -> AlarmMetricStat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlarmMetricStat
impl<'de> Deserialize<'de> for AlarmMetricStat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AlarmMetricStat
impl RefUnwindSafe for AlarmMetricStat
impl Send for AlarmMetricStat
impl Sync for AlarmMetricStat
impl Unpin for AlarmMetricStat
impl UnsafeUnpin for AlarmMetricStat
impl UnwindSafe for AlarmMetricStat
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