Struct aws_sdk_ssm::types::AlarmStateInformation
source · #[non_exhaustive]pub struct AlarmStateInformation {
pub name: Option<String>,
pub state: Option<ExternalAlarmState>,
}
Expand description
The details about the state of your CloudWatch alarm.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of your CloudWatch alarm.
state: Option<ExternalAlarmState>
The state of your CloudWatch alarm.
Implementations§
source§impl AlarmStateInformation
impl AlarmStateInformation
sourcepub fn builder() -> AlarmStateInformationBuilder
pub fn builder() -> AlarmStateInformationBuilder
Creates a new builder-style object to manufacture AlarmStateInformation
.
Trait Implementations§
source§impl Clone for AlarmStateInformation
impl Clone for AlarmStateInformation
source§fn clone(&self) -> AlarmStateInformation
fn clone(&self) -> AlarmStateInformation
Returns a copy of the value. Read more
1.0.0 · 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 AlarmStateInformation
impl Debug for AlarmStateInformation
source§impl PartialEq for AlarmStateInformation
impl PartialEq for AlarmStateInformation
source§fn eq(&self, other: &AlarmStateInformation) -> bool
fn eq(&self, other: &AlarmStateInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlarmStateInformation
Auto Trait Implementations§
impl RefUnwindSafe for AlarmStateInformation
impl Send for AlarmStateInformation
impl Sync for AlarmStateInformation
impl Unpin for AlarmStateInformation
impl UnwindSafe for AlarmStateInformation
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