pub struct NotificationView {
pub notification: Notification,
pub data: NotificationData,
}Fields§
§notification: Notification§data: NotificationDataTrait Implementations§
Source§impl Clone for NotificationView
impl Clone for NotificationView
Source§fn clone(&self) -> NotificationView
fn clone(&self) -> NotificationView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NotificationView
impl Debug for NotificationView
Source§impl<'de> Deserialize<'de> for NotificationView
impl<'de> Deserialize<'de> for NotificationView
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 PartialEq for NotificationView
impl PartialEq for NotificationView
Source§fn eq(&self, other: &NotificationView) -> bool
fn eq(&self, other: &NotificationView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotificationView
impl Serialize for NotificationView
impl StructuralPartialEq for NotificationView
Auto Trait Implementations§
impl Freeze for NotificationView
impl RefUnwindSafe for NotificationView
impl Send for NotificationView
impl Sync for NotificationView
impl Unpin for NotificationView
impl UnsafeUnpin for NotificationView
impl UnwindSafe for NotificationView
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