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