pub struct TimeWindows {
pub one_time_windows: Option<Vec<OneTimeWindow>>,
pub time_zone: Option<String>,
pub weekly_windows: Option<Vec<WeeklyWindow>>,
}Expand description
Time windows within which actions are restricted. See the documentation for more information on how to configure dates/times.
This type is not used in any activity, and only used as part of another schema.
Fields§
§one_time_windows: Option<Vec<OneTimeWindow>>Optional. One-time windows within which actions are restricted.
time_zone: Option<String>Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
weekly_windows: Option<Vec<WeeklyWindow>>Optional. Recurring weekly windows within which actions are restricted.
Trait Implementations§
Source§impl Clone for TimeWindows
impl Clone for TimeWindows
Source§fn clone(&self) -> TimeWindows
fn clone(&self) -> TimeWindows
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 TimeWindows
impl Debug for TimeWindows
Source§impl Default for TimeWindows
impl Default for TimeWindows
Source§fn default() -> TimeWindows
fn default() -> TimeWindows
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeWindows
impl<'de> Deserialize<'de> for TimeWindows
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
Source§impl Serialize for TimeWindows
impl Serialize for TimeWindows
impl Part for TimeWindows
Auto Trait Implementations§
impl Freeze for TimeWindows
impl RefUnwindSafe for TimeWindows
impl Send for TimeWindows
impl Sync for TimeWindows
impl Unpin for TimeWindows
impl UnwindSafe for TimeWindows
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