pub struct NotificationPreferencesInputPriorityChannels {
pub critical: Option<Vec<NotificationChannel>>,
pub warning: Option<Vec<NotificationChannel>>,
pub info: Option<Vec<NotificationChannel>>,
pub success: Option<Vec<NotificationChannel>>,
}Expand description
Default channel routing keyed by severity. Server default: critical → [in_app, email]; warning/info/success → [in_app].
Fields§
§critical: Option<Vec<NotificationChannel>>§warning: Option<Vec<NotificationChannel>>§info: Option<Vec<NotificationChannel>>§success: Option<Vec<NotificationChannel>>Trait Implementations§
Source§impl Clone for NotificationPreferencesInputPriorityChannels
impl Clone for NotificationPreferencesInputPriorityChannels
Source§fn clone(&self) -> NotificationPreferencesInputPriorityChannels
fn clone(&self) -> NotificationPreferencesInputPriorityChannels
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 Default for NotificationPreferencesInputPriorityChannels
impl Default for NotificationPreferencesInputPriorityChannels
Source§fn default() -> NotificationPreferencesInputPriorityChannels
fn default() -> NotificationPreferencesInputPriorityChannels
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationPreferencesInputPriorityChannels
impl<'de> Deserialize<'de> for NotificationPreferencesInputPriorityChannels
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
impl StructuralPartialEq for NotificationPreferencesInputPriorityChannels
Auto Trait Implementations§
impl Freeze for NotificationPreferencesInputPriorityChannels
impl RefUnwindSafe for NotificationPreferencesInputPriorityChannels
impl Send for NotificationPreferencesInputPriorityChannels
impl Sync for NotificationPreferencesInputPriorityChannels
impl Unpin for NotificationPreferencesInputPriorityChannels
impl UnsafeUnpin for NotificationPreferencesInputPriorityChannels
impl UnwindSafe for NotificationPreferencesInputPriorityChannels
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