pub struct NotificationDeliveryPreferencesSchedule {
pub disabled: Option<bool>,
pub sunday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub monday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub tuesday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub wednesday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub thursday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub friday: Option<Box<NotificationDeliveryPreferencesDay>>,
pub saturday: Option<Box<NotificationDeliveryPreferencesDay>>,
}Expand description
A user’s notification delivery schedule for a particular day.
Fields§
§disabled: Option<bool>Whether the schedule is disabled.
sunday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Sunday.
monday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Monday.
tuesday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Tuesday.
wednesday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Wednesday.
thursday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Thursday.
friday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Friday.
saturday: Option<Box<NotificationDeliveryPreferencesDay>>Delivery preferences for Saturday.
Trait Implementations§
Source§impl Clone for NotificationDeliveryPreferencesSchedule
impl Clone for NotificationDeliveryPreferencesSchedule
Source§fn clone(&self) -> NotificationDeliveryPreferencesSchedule
fn clone(&self) -> NotificationDeliveryPreferencesSchedule
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 NotificationDeliveryPreferencesSchedule
impl Default for NotificationDeliveryPreferencesSchedule
Source§fn default() -> NotificationDeliveryPreferencesSchedule
fn default() -> NotificationDeliveryPreferencesSchedule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesSchedule
impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesSchedule
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 NotificationDeliveryPreferencesSchedule
impl RefUnwindSafe for NotificationDeliveryPreferencesSchedule
impl Send for NotificationDeliveryPreferencesSchedule
impl Sync for NotificationDeliveryPreferencesSchedule
impl Unpin for NotificationDeliveryPreferencesSchedule
impl UnwindSafe for NotificationDeliveryPreferencesSchedule
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