pub struct AlarmMetricQuery {
pub id: String,
pub metric_stat: Option<AlarmMetricStat>,
pub expression: Option<String>,
pub label: Option<String>,
pub return_data: Option<bool>,
pub account_id: Option<String>,
pub period: Option<i64>,
}Expand description
A single MetricDataQuery entry in a PutMetricAlarm Metrics list.
Fields§
§id: String§metric_stat: Option<AlarmMetricStat>§expression: Option<String>§label: Option<String>§return_data: Option<bool>§account_id: Option<String>§period: Option<i64>Trait Implementations§
Source§impl Clone for AlarmMetricQuery
impl Clone for AlarmMetricQuery
Source§fn clone(&self) -> AlarmMetricQuery
fn clone(&self) -> AlarmMetricQuery
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 AlarmMetricQuery
impl Debug for AlarmMetricQuery
Source§impl Default for AlarmMetricQuery
impl Default for AlarmMetricQuery
Source§fn default() -> AlarmMetricQuery
fn default() -> AlarmMetricQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlarmMetricQuery
impl<'de> Deserialize<'de> for AlarmMetricQuery
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 AlarmMetricQuery
impl RefUnwindSafe for AlarmMetricQuery
impl Send for AlarmMetricQuery
impl Sync for AlarmMetricQuery
impl Unpin for AlarmMetricQuery
impl UnsafeUnpin for AlarmMetricQuery
impl UnwindSafe for AlarmMetricQuery
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