pub struct MonitorStateChangeEvent {
pub correlation_id: Option<String>,
pub description: Option<String>,
pub domain: Option<String>,
pub event: Option<MonitorStateChangeEventPayload>,
pub event_id: Option<String>,
pub event_time: Option<DateTime>,
pub event_type: Option<String>,
pub priority: Option<String>,
pub time_ocurred: Option<DateTime>,
pub title: Option<String>,
}Expand description
The notification data structure
Fields§
§correlation_id: Option<String>The correlation id for this event.
description: Option<String>An explnatory of the event.
domain: Option<String>The domain of the event.
event: Option<MonitorStateChangeEventPayload>The event data structure
event_id: Option<String>The identifier of the notification.
event_time: Option<DateTime>Time of the event occurrence.
event_type: Option<String>The type of the notification.
priority: Option<String>A priority.
time_ocurred: Option<DateTime>The time the event occured.
title: Option<String>The title of the event.
Trait Implementations§
Source§impl Clone for MonitorStateChangeEvent
impl Clone for MonitorStateChangeEvent
Source§fn clone(&self) -> MonitorStateChangeEvent
fn clone(&self) -> MonitorStateChangeEvent
Returns a duplicate 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 MonitorStateChangeEvent
impl Debug for MonitorStateChangeEvent
Source§impl Default for MonitorStateChangeEvent
impl Default for MonitorStateChangeEvent
Source§fn default() -> MonitorStateChangeEvent
fn default() -> MonitorStateChangeEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonitorStateChangeEvent
impl<'de> Deserialize<'de> for MonitorStateChangeEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MonitorStateChangeEvent
impl Display for MonitorStateChangeEvent
Auto Trait Implementations§
impl Freeze for MonitorStateChangeEvent
impl RefUnwindSafe for MonitorStateChangeEvent
impl Send for MonitorStateChangeEvent
impl Sync for MonitorStateChangeEvent
impl Unpin for MonitorStateChangeEvent
impl UnsafeUnpin for MonitorStateChangeEvent
impl UnwindSafe for MonitorStateChangeEvent
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