pub struct NotificationsConfig {
pub desktop: bool,
}Expand description
Which notification channels the durable monitor may use. log is not
listed: it is always on and cannot be disabled, because a notable event
must leave a trace somewhere even when a user has turned everything off.
Fields§
§desktop: boolOS desktop notification. Opt-in: a background daemon that starts popping banners on upgrade is a hostile default.
Trait Implementations§
Source§impl Clone for NotificationsConfig
impl Clone for NotificationsConfig
Source§impl Debug for NotificationsConfig
impl Debug for NotificationsConfig
Source§impl Default for NotificationsConfig
impl Default for NotificationsConfig
Source§impl<'de> Deserialize<'de> for NotificationsConfig
impl<'de> Deserialize<'de> for NotificationsConfig
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 NotificationsConfig
impl RefUnwindSafe for NotificationsConfig
impl Send for NotificationsConfig
impl Sync for NotificationsConfig
impl Unpin for NotificationsConfig
impl UnsafeUnpin for NotificationsConfig
impl UnwindSafe for NotificationsConfig
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