pub struct NotificationData { /* private fields */ }Expand description
The payload of a notification, as sent to the platform implementation.
Build it with NotificationBuilder rather than constructing it directly.
The identifier defaults to a random 32-bit integer when it is not provided.
Trait Implementations§
Source§impl Debug for NotificationData
impl Debug for NotificationData
Source§impl Default for NotificationData
impl Default for NotificationData
Source§impl<'de> Deserialize<'de> for NotificationData
impl<'de> Deserialize<'de> for NotificationData
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 NotificationData
impl RefUnwindSafe for NotificationData
impl Send for NotificationData
impl Sync for NotificationData
impl Unpin for NotificationData
impl UnsafeUnpin for NotificationData
impl UnwindSafe for NotificationData
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