#[non_exhaustive]pub struct AlertManagerDefinitionDescription {
pub status: Option<AlertManagerDefinitionStatus>,
pub data: Option<Blob>,
pub created_at: Option<DateTime>,
pub modified_at: Option<DateTime>,
}
Expand description
Represents the properties of an alert manager definition.
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: Option<AlertManagerDefinitionStatus>
The status of alert manager definition.
data: Option<Blob>
The alert manager definition.
created_at: Option<DateTime>
The time when the alert manager definition was created.
modified_at: Option<DateTime>
The time when the alert manager definition was modified.
Implementations§
source§impl AlertManagerDefinitionDescription
impl AlertManagerDefinitionDescription
sourcepub fn status(&self) -> Option<&AlertManagerDefinitionStatus>
pub fn status(&self) -> Option<&AlertManagerDefinitionStatus>
The status of alert manager definition.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the alert manager definition was created.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
The time when the alert manager definition was modified.
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
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 PartialEq<AlertManagerDefinitionDescription> for AlertManagerDefinitionDescription
impl PartialEq<AlertManagerDefinitionDescription> for AlertManagerDefinitionDescription
source§fn eq(&self, other: &AlertManagerDefinitionDescription) -> bool
fn eq(&self, other: &AlertManagerDefinitionDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlertManagerDefinitionDescription
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more