pub struct ServiceCandidateChangeEvent {
pub correlation_id: Option<String>,
pub description: Option<String>,
pub domain: Option<String>,
pub event: Option<ServiceCandidateChangeEventPayload>,
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<ServiceCandidateChangeEventPayload>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 ServiceCandidateChangeEvent
impl Clone for ServiceCandidateChangeEvent
Source§fn clone(&self) -> ServiceCandidateChangeEvent
fn clone(&self) -> ServiceCandidateChangeEvent
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 ServiceCandidateChangeEvent
impl Debug for ServiceCandidateChangeEvent
Source§impl Default for ServiceCandidateChangeEvent
impl Default for ServiceCandidateChangeEvent
Source§fn default() -> ServiceCandidateChangeEvent
fn default() -> ServiceCandidateChangeEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceCandidateChangeEvent
impl<'de> Deserialize<'de> for ServiceCandidateChangeEvent
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
Auto Trait Implementations§
impl Freeze for ServiceCandidateChangeEvent
impl RefUnwindSafe for ServiceCandidateChangeEvent
impl Send for ServiceCandidateChangeEvent
impl Sync for ServiceCandidateChangeEvent
impl Unpin for ServiceCandidateChangeEvent
impl UnsafeUnpin for ServiceCandidateChangeEvent
impl UnwindSafe for ServiceCandidateChangeEvent
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