pub struct AlarmData {Show 23 fields
pub name: String,
pub state: String,
pub state_updated: String,
pub description: String,
pub metric_name: String,
pub namespace: String,
pub statistic: String,
pub period: u32,
pub comparison: String,
pub threshold: f64,
pub actions_enabled: bool,
pub state_reason: String,
pub resource: String,
pub dimensions: String,
pub expression: String,
pub alarm_type: String,
pub cross_account: String,
pub alarm_arn: String,
pub datapoints_to_alarm: u32,
pub evaluation_periods: u32,
pub treat_missing_data: String,
pub evaluate_low_sample_percentile: String,
pub sub_metrics: Vec<SubMetric>,
}Expand description
All alarm fields returned by describe_alarms, ready to be used by the term layer.
Fields§
§name: String§state: String§state_updated: String§description: String§metric_name: String§namespace: String§statistic: String§period: u32§comparison: String§threshold: f64§actions_enabled: bool§state_reason: String§resource: String§dimensions: String§expression: String§alarm_type: String§cross_account: String§alarm_arn: String§datapoints_to_alarm: u32§evaluation_periods: u32§treat_missing_data: String§evaluate_low_sample_percentile: String§sub_metrics: Vec<SubMetric>Non-empty for metric math alarms; contains the sub-metrics and expression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlarmData
impl RefUnwindSafe for AlarmData
impl Send for AlarmData
impl Sync for AlarmData
impl Unpin for AlarmData
impl UnsafeUnpin for AlarmData
impl UnwindSafe for AlarmData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.