pub struct NotificationSource {
pub kind: Option<NotificationSourceKind>,
pub id: Option<String>,
}Expand description
NotificationSource model.
Fields§
§kind: Option<NotificationSourceKind>§id: Option<String>Trait Implementations§
Source§impl Clone for NotificationSource
impl Clone for NotificationSource
Source§fn clone(&self) -> NotificationSource
fn clone(&self) -> NotificationSource
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 NotificationSource
impl Debug for NotificationSource
Source§impl Default for NotificationSource
impl Default for NotificationSource
Source§fn default() -> NotificationSource
fn default() -> NotificationSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSource
impl<'de> Deserialize<'de> for NotificationSource
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 NotificationSource
impl PartialEq for NotificationSource
Source§impl Serialize for NotificationSource
impl Serialize for NotificationSource
impl StructuralPartialEq for NotificationSource
Auto Trait Implementations§
impl Freeze for NotificationSource
impl RefUnwindSafe for NotificationSource
impl Send for NotificationSource
impl Sync for NotificationSource
impl Unpin for NotificationSource
impl UnsafeUnpin for NotificationSource
impl UnwindSafe for NotificationSource
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