Struct aws_sdk_amp::types::AlertManagerDefinitionStatus
source · #[non_exhaustive]pub struct AlertManagerDefinitionStatus {
pub status_code: AlertManagerDefinitionStatusCode,
pub status_reason: Option<String>,
}
Expand description
The status of the alert manager.
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.status_code: AlertManagerDefinitionStatusCode
The current status of the alert manager.
status_reason: Option<String>
If there is a failure, the reason for the failure.
Implementations§
source§impl AlertManagerDefinitionStatus
impl AlertManagerDefinitionStatus
sourcepub fn status_code(&self) -> &AlertManagerDefinitionStatusCode
pub fn status_code(&self) -> &AlertManagerDefinitionStatusCode
The current status of the alert manager.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
If there is a failure, the reason for the failure.
source§impl AlertManagerDefinitionStatus
impl AlertManagerDefinitionStatus
sourcepub fn builder() -> AlertManagerDefinitionStatusBuilder
pub fn builder() -> AlertManagerDefinitionStatusBuilder
Creates a new builder-style object to manufacture AlertManagerDefinitionStatus
.
Trait Implementations§
source§impl Clone for AlertManagerDefinitionStatus
impl Clone for AlertManagerDefinitionStatus
source§fn clone(&self) -> AlertManagerDefinitionStatus
fn clone(&self) -> AlertManagerDefinitionStatus
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 AlertManagerDefinitionStatus
impl Debug for AlertManagerDefinitionStatus
source§impl PartialEq for AlertManagerDefinitionStatus
impl PartialEq for AlertManagerDefinitionStatus
source§fn eq(&self, other: &AlertManagerDefinitionStatus) -> bool
fn eq(&self, other: &AlertManagerDefinitionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlertManagerDefinitionStatus
Auto Trait Implementations§
impl Freeze for AlertManagerDefinitionStatus
impl RefUnwindSafe for AlertManagerDefinitionStatus
impl Send for AlertManagerDefinitionStatus
impl Sync for AlertManagerDefinitionStatus
impl Unpin for AlertManagerDefinitionStatus
impl UnwindSafe for AlertManagerDefinitionStatus
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
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>
Creates a shared type from an unshared type.