pub struct UsageStateChangeEvent {
pub correlation_id: Option<String>,
pub description: Option<String>,
pub domain: Option<String>,
pub event: Option<UsageStateChangeEventPayload>,
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<UsageStateChangeEventPayload>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 UsageStateChangeEvent
impl Clone for UsageStateChangeEvent
Source§fn clone(&self) -> UsageStateChangeEvent
fn clone(&self) -> UsageStateChangeEvent
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 UsageStateChangeEvent
impl Debug for UsageStateChangeEvent
Source§impl<'de> Deserialize<'de> for UsageStateChangeEvent
impl<'de> Deserialize<'de> for UsageStateChangeEvent
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 UsageStateChangeEvent
impl Display for UsageStateChangeEvent
Auto Trait Implementations§
impl Freeze for UsageStateChangeEvent
impl RefUnwindSafe for UsageStateChangeEvent
impl Send for UsageStateChangeEvent
impl Sync for UsageStateChangeEvent
impl Unpin for UsageStateChangeEvent
impl UnsafeUnpin for UsageStateChangeEvent
impl UnwindSafe for UsageStateChangeEvent
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