pub struct NotificationOption {
pub notification_type: Option<NotificationType>,
pub enabled: Option<bool>,
}Fields§
§notification_type: Option<NotificationType>§enabled: Option<bool>Trait Implementations§
Source§impl Clone for NotificationOption
impl Clone for NotificationOption
Source§impl Debug for NotificationOption
impl Debug for NotificationOption
Source§impl<'de> Deserialize<'de> for NotificationOption
impl<'de> Deserialize<'de> for NotificationOption
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 NotificationOption
impl RefUnwindSafe for NotificationOption
impl Send for NotificationOption
impl Sync for NotificationOption
impl Unpin for NotificationOption
impl UnsafeUnpin for NotificationOption
impl UnwindSafe for NotificationOption
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