#[non_exhaustive]pub struct AlertManagerDefinitionDescription {
pub status: Option<AlertManagerDefinitionStatus>,
pub data: Blob,
pub created_at: DateTime,
pub modified_at: DateTime,
}Expand description
The details of an alert manager definition.
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.status: Option<AlertManagerDefinitionStatus>A structure that displays the current status of the alert manager definition..
data: BlobThe actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
created_at: DateTimeThe date and time that the alert manager definition was created.
modified_at: DateTimeThe date and time that the alert manager definition was most recently changed.
Implementations§
source§impl AlertManagerDefinitionDescription
impl AlertManagerDefinitionDescription
sourcepub fn status(&self) -> Option<&AlertManagerDefinitionStatus>
pub fn status(&self) -> Option<&AlertManagerDefinitionStatus>
A structure that displays the current status of the alert manager definition..
sourcepub fn data(&self) -> &Blob
pub fn data(&self) -> &Blob
The actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time that the alert manager definition was created.
sourcepub fn modified_at(&self) -> &DateTime
pub fn modified_at(&self) -> &DateTime
The date and time that the alert manager definition was most recently changed.
source§impl AlertManagerDefinitionDescription
impl AlertManagerDefinitionDescription
sourcepub fn builder() -> AlertManagerDefinitionDescriptionBuilder
pub fn builder() -> AlertManagerDefinitionDescriptionBuilder
Creates a new builder-style object to manufacture AlertManagerDefinitionDescription.
Trait Implementations§
source§impl Clone for AlertManagerDefinitionDescription
impl Clone for AlertManagerDefinitionDescription
source§fn clone(&self) -> AlertManagerDefinitionDescription
fn clone(&self) -> AlertManagerDefinitionDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AlertManagerDefinitionDescription
impl PartialEq for AlertManagerDefinitionDescription
source§fn eq(&self, other: &AlertManagerDefinitionDescription) -> bool
fn eq(&self, other: &AlertManagerDefinitionDescription) -> bool
self and other values to be equal, and is used
by ==.