pub struct AlarmRow {Show 16 fields
pub account_id: String,
pub region: String,
pub name: String,
pub kind: &'static str,
pub state: String,
pub state_reason: String,
pub state_updated_timestamp: Option<DateTime<Utc>>,
pub actions_enabled: bool,
pub alarm_actions: Vec<String>,
pub ok_actions: Vec<String>,
pub insufficient_data_actions: Vec<String>,
pub namespace: Option<String>,
pub metric_name: Option<String>,
pub threshold: Option<f64>,
pub comparison_operator: Option<String>,
pub alarm_rule: Option<String>,
}Expand description
One alarm (metric or composite) flattened for introspection.
Fields§
§account_id: String§region: String§name: String§kind: &'static str“metric” or “composite”.
state: StringOK / ALARM / INSUFFICIENT_DATA.
state_reason: String§state_updated_timestamp: Option<DateTime<Utc>>§actions_enabled: bool§alarm_actions: Vec<String>§ok_actions: Vec<String>§insufficient_data_actions: Vec<String>§namespace: Option<String>§metric_name: Option<String>§threshold: Option<f64>§comparison_operator: Option<String>§alarm_rule: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlarmRow
impl RefUnwindSafe for AlarmRow
impl Send for AlarmRow
impl Sync for AlarmRow
impl Unpin for AlarmRow
impl UnsafeUnpin for AlarmRow
impl UnwindSafe for AlarmRow
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