Struct aws_sdk_iotevents::types::AcknowledgeFlow
source · #[non_exhaustive]pub struct AcknowledgeFlow {
pub enabled: bool,
}
Expand description
Specifies whether to get notified for alarm state changes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: bool
The value must be TRUE
or FALSE
. If TRUE
, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL
. If FALSE
, you won't receive notifications. The alarm automatically changes to the NORMAL
state when the input property value returns to the specified range.
Implementations§
source§impl AcknowledgeFlow
impl AcknowledgeFlow
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
The value must be TRUE
or FALSE
. If TRUE
, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL
. If FALSE
, you won't receive notifications. The alarm automatically changes to the NORMAL
state when the input property value returns to the specified range.
source§impl AcknowledgeFlow
impl AcknowledgeFlow
sourcepub fn builder() -> AcknowledgeFlowBuilder
pub fn builder() -> AcknowledgeFlowBuilder
Creates a new builder-style object to manufacture AcknowledgeFlow
.
Trait Implementations§
source§impl Clone for AcknowledgeFlow
impl Clone for AcknowledgeFlow
source§fn clone(&self) -> AcknowledgeFlow
fn clone(&self) -> AcknowledgeFlow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AcknowledgeFlow
impl Debug for AcknowledgeFlow
source§impl PartialEq for AcknowledgeFlow
impl PartialEq for AcknowledgeFlow
source§fn eq(&self, other: &AcknowledgeFlow) -> bool
fn eq(&self, other: &AcknowledgeFlow) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AcknowledgeFlow
Auto Trait Implementations§
impl Freeze for AcknowledgeFlow
impl RefUnwindSafe for AcknowledgeFlow
impl Send for AcknowledgeFlow
impl Sync for AcknowledgeFlow
impl Unpin for AcknowledgeFlow
impl UnwindSafe for AcknowledgeFlow
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
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>
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>
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 more