pub struct NotificationDeliveryPreferences {
pub mobile: Option<Box<NotificationDeliveryPreferencesChannel>>,
}Expand description
A user’s notification delivery preferences.
Fields§
§mobile: Option<Box<NotificationDeliveryPreferencesChannel>>The delivery preferences for the mobile channel.
Trait Implementations§
Source§impl Clone for NotificationDeliveryPreferences
impl Clone for NotificationDeliveryPreferences
Source§fn clone(&self) -> NotificationDeliveryPreferences
fn clone(&self) -> NotificationDeliveryPreferences
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 NotificationDeliveryPreferences
impl Default for NotificationDeliveryPreferences
Source§fn default() -> NotificationDeliveryPreferences
fn default() -> NotificationDeliveryPreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationDeliveryPreferences
impl<'de> Deserialize<'de> for NotificationDeliveryPreferences
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 NotificationDeliveryPreferences
impl RefUnwindSafe for NotificationDeliveryPreferences
impl Send for NotificationDeliveryPreferences
impl Sync for NotificationDeliveryPreferences
impl Unpin for NotificationDeliveryPreferences
impl UnwindSafe for NotificationDeliveryPreferences
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