pub struct RecurringTimeWindow {
pub recurrence: Option<String>,
pub window: Option<TimeWindow>,
}Expand description
Represents an arbitrary window of time that recurs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§recurrence: Option<String>Required. An RRULE with format RFC-5545 for how this window reccurs. They go on for the span of time between the start and end time. The only supported FREQ value is “WEEKLY”. To have something repeat every weekday, use: “FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR”. This specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4 window every weekday, use something like: start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
window: Option<TimeWindow>Required. The window representing the start and end time of recurrences. This field ignores the date components of the provided timestamps. Only the time of day and duration between start and end time are relevant.
Trait Implementations§
Source§impl Clone for RecurringTimeWindow
impl Clone for RecurringTimeWindow
Source§fn clone(&self) -> RecurringTimeWindow
fn clone(&self) -> RecurringTimeWindow
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more