#[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 ==.impl StructuralPartialEq for AlertManagerDefinitionDescription
Auto Trait Implementations§
impl Freeze for AlertManagerDefinitionDescription
impl RefUnwindSafe for AlertManagerDefinitionDescription
impl Send for AlertManagerDefinitionDescription
impl Sync for AlertManagerDefinitionDescription
impl Unpin for AlertManagerDefinitionDescription
impl UnwindSafe for AlertManagerDefinitionDescription
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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