pub struct PushNotificationEvent {
pub config_id: String,
pub event: TaskEvent,
pub timestamp: String,
}Expand description
A push notification event sent to the webhook.
Fields§
§config_id: StringThe notification config ID.
event: TaskEventThe task event.
timestamp: StringISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for PushNotificationEvent
impl Clone for PushNotificationEvent
Source§fn clone(&self) -> PushNotificationEvent
fn clone(&self) -> PushNotificationEvent
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 PushNotificationEvent
impl Debug for PushNotificationEvent
Source§impl<'de> Deserialize<'de> for PushNotificationEvent
impl<'de> Deserialize<'de> for PushNotificationEvent
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 PushNotificationEvent
impl RefUnwindSafe for PushNotificationEvent
impl Send for PushNotificationEvent
impl Sync for PushNotificationEvent
impl Unpin for PushNotificationEvent
impl UnsafeUnpin for PushNotificationEvent
impl UnwindSafe for PushNotificationEvent
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