Struct rusoto_iotevents_data::AlarmSummary
source · [−]pub struct AlarmSummary {
pub alarm_model_name: Option<String>,
pub alarm_model_version: Option<String>,
pub creation_time: Option<f64>,
pub key_value: Option<String>,
pub last_update_time: Option<f64>,
pub state_name: Option<String>,
}
Expand description
Contains a summary of an alarm.
Fields
alarm_model_name: Option<String>
The name of the alarm model.
alarm_model_version: Option<String>
The version of the alarm model.
creation_time: Option<f64>
The time the alarm was created, in the Unix epoch format.
key_value: Option<String>
The value of the key used as a filter to select only the alarms associated with the key.
last_update_time: Option<f64>
The time the alarm was last updated, in the Unix epoch format.
state_name: Option<String>
The name of the alarm state. The state name can be one of the following values:
-
DISABLED
- When the alarm is in theDISABLED
state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMAL
state. -
NORMAL
- When the alarm is in theNORMAL
state, it's ready to evaluate data. -
ACTIVE
- If the alarm is in theACTIVE
state, the alarm is invoked. -
ACKNOWLEDGED
- When the alarm is in theACKNOWLEDGED
state, the alarm was invoked and you acknowledged the alarm. -
SNOOZEDISABLED
- When the alarm is in theSNOOZEDISABLED
state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMAL
state. -
LATCHED
- When the alarm is in theLATCHED
state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMAL
state, you must acknowledge the alarm.
Trait Implementations
sourceimpl Clone for AlarmSummary
impl Clone for AlarmSummary
sourcefn clone(&self) -> AlarmSummary
fn clone(&self) -> AlarmSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AlarmSummary
impl Debug for AlarmSummary
sourceimpl Default for AlarmSummary
impl Default for AlarmSummary
sourcefn default() -> AlarmSummary
fn default() -> AlarmSummary
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AlarmSummary
impl<'de> Deserialize<'de> for AlarmSummary
sourcefn 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
sourceimpl PartialEq<AlarmSummary> for AlarmSummary
impl PartialEq<AlarmSummary> for AlarmSummary
sourcefn eq(&self, other: &AlarmSummary) -> bool
fn eq(&self, other: &AlarmSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AlarmSummary) -> bool
fn ne(&self, other: &AlarmSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for AlarmSummary
Auto Trait Implementations
impl RefUnwindSafe for AlarmSummary
impl Send for AlarmSummary
impl Sync for AlarmSummary
impl Unpin for AlarmSummary
impl UnwindSafe for AlarmSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more