pub struct NotificationsConfig {
pub ws2023_enabled: bool,
pub webhook2023_enabled: bool,
pub legacy_solid_01_enabled: bool,
}Expand description
Solid Notifications channel toggles.
Fields§
§ws2023_enabled: boolWebSocketChannel2023 — JSS_NOTIFICATIONS_WS2023.
webhook2023_enabled: boolWebhookChannel2023 — JSS_NOTIFICATIONS_WEBHOOK.
legacy_solid_01_enabled: boolLegacy solid-0.1 PATCH-based channel — JSS_NOTIFICATIONS_LEGACY.
JSS sets this on by default for backwards compatibility; we mirror that for drop-in replacement.
Trait Implementations§
Source§impl Clone for NotificationsConfig
impl Clone for NotificationsConfig
Source§fn clone(&self) -> NotificationsConfig
fn clone(&self) -> NotificationsConfig
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 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