pub struct NotificationDeliveryPreferencesChannel {
pub notifications_disabled: Option<bool>,
pub schedule: Option<Box<NotificationDeliveryPreferencesSchedule>>,
}Expand description
A user’s notification delivery preferences.
Fields§
§notifications_disabled: Option<bool>DEPRECATED Whether notifications are enabled for this channel. Use notificationChannelPreferences instead.
schedule: Option<Box<NotificationDeliveryPreferencesSchedule>>The schedule for notifications on this channel.
Trait Implementations§
Source§impl Clone for NotificationDeliveryPreferencesChannel
impl Clone for NotificationDeliveryPreferencesChannel
Source§fn clone(&self) -> NotificationDeliveryPreferencesChannel
fn clone(&self) -> NotificationDeliveryPreferencesChannel
Returns a duplicate of the value. Read more
1.0.0 · 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 NotificationDeliveryPreferencesChannel
impl Default for NotificationDeliveryPreferencesChannel
Source§fn default() -> NotificationDeliveryPreferencesChannel
fn default() -> NotificationDeliveryPreferencesChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesChannel
impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesChannel
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 NotificationDeliveryPreferencesChannel
impl RefUnwindSafe for NotificationDeliveryPreferencesChannel
impl Send for NotificationDeliveryPreferencesChannel
impl Sync for NotificationDeliveryPreferencesChannel
impl Unpin for NotificationDeliveryPreferencesChannel
impl UnwindSafe for NotificationDeliveryPreferencesChannel
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