pub struct NotificationDeliveryPreferencesDay {
pub start: Option<String>,
pub end: Option<String>,
}Expand description
A user’s notification delivery window for a specific day of the week. Defines the time range during which notifications will be delivered.
Fields§
§start: Option<String>The start time of the notification delivery window in HH:MM military time format (e.g., ‘09:00’). Must be earlier than ‘end’.
end: Option<String>The end time of the notification delivery window in HH:MM military time format (e.g., ‘18:00’). Must be later than ‘start’.
Trait Implementations§
Source§impl Clone for NotificationDeliveryPreferencesDay
impl Clone for NotificationDeliveryPreferencesDay
Source§fn clone(&self) -> NotificationDeliveryPreferencesDay
fn clone(&self) -> NotificationDeliveryPreferencesDay
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 NotificationDeliveryPreferencesDay
impl Default for NotificationDeliveryPreferencesDay
Source§fn default() -> NotificationDeliveryPreferencesDay
fn default() -> NotificationDeliveryPreferencesDay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesDay
impl<'de> Deserialize<'de> for NotificationDeliveryPreferencesDay
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 NotificationDeliveryPreferencesDay
impl RefUnwindSafe for NotificationDeliveryPreferencesDay
impl Send for NotificationDeliveryPreferencesDay
impl Sync for NotificationDeliveryPreferencesDay
impl Unpin for NotificationDeliveryPreferencesDay
impl UnsafeUnpin for NotificationDeliveryPreferencesDay
impl UnwindSafe for NotificationDeliveryPreferencesDay
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