#[non_exhaustive]pub struct WeeklyRecurrence {
pub day: DayOfWeek,
/* private fields */
}Expand description
Represents a recurring schedule that runs on a specified day of the week.
The time zone is UTC.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.day: DayOfWeekThe day of week to run.
DAY_OF_WEEK_UNSPECIFIED is not allowed.
Implementations§
Trait Implementations§
Source§impl Clone for WeeklyRecurrence
impl Clone for WeeklyRecurrence
Source§fn clone(&self) -> WeeklyRecurrence
fn clone(&self) -> WeeklyRecurrence
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 Debug for WeeklyRecurrence
impl Debug for WeeklyRecurrence
Source§impl Default for WeeklyRecurrence
impl Default for WeeklyRecurrence
Source§fn default() -> WeeklyRecurrence
fn default() -> WeeklyRecurrence
Returns the “default value” for a type. Read more
Source§impl Message for WeeklyRecurrence
impl Message for WeeklyRecurrence
Source§impl PartialEq for WeeklyRecurrence
impl PartialEq for WeeklyRecurrence
impl StructuralPartialEq for WeeklyRecurrence
Auto Trait Implementations§
impl Freeze for WeeklyRecurrence
impl RefUnwindSafe for WeeklyRecurrence
impl Send for WeeklyRecurrence
impl Sync for WeeklyRecurrence
impl Unpin for WeeklyRecurrence
impl UnwindSafe for WeeklyRecurrence
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