Struct aws_sdk_scheduler::types::FlexibleTimeWindow
source · #[non_exhaustive]pub struct FlexibleTimeWindow {
pub mode: Option<FlexibleTimeWindowMode>,
pub maximum_window_in_minutes: Option<i32>,
}Expand description
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
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.mode: Option<FlexibleTimeWindowMode>Determines whether the schedule is invoked within a flexible time window.
maximum_window_in_minutes: Option<i32>The maximum time window during which a schedule can be invoked.
Implementations§
source§impl FlexibleTimeWindow
impl FlexibleTimeWindow
sourcepub fn mode(&self) -> Option<&FlexibleTimeWindowMode>
pub fn mode(&self) -> Option<&FlexibleTimeWindowMode>
Determines whether the schedule is invoked within a flexible time window.
sourcepub fn maximum_window_in_minutes(&self) -> Option<i32>
pub fn maximum_window_in_minutes(&self) -> Option<i32>
The maximum time window during which a schedule can be invoked.
source§impl FlexibleTimeWindow
impl FlexibleTimeWindow
sourcepub fn builder() -> FlexibleTimeWindowBuilder
pub fn builder() -> FlexibleTimeWindowBuilder
Creates a new builder-style object to manufacture FlexibleTimeWindow.
Trait Implementations§
source§impl Clone for FlexibleTimeWindow
impl Clone for FlexibleTimeWindow
source§fn clone(&self) -> FlexibleTimeWindow
fn clone(&self) -> FlexibleTimeWindow
Returns a copy 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 FlexibleTimeWindow
impl Debug for FlexibleTimeWindow
source§impl PartialEq<FlexibleTimeWindow> for FlexibleTimeWindow
impl PartialEq<FlexibleTimeWindow> for FlexibleTimeWindow
source§fn eq(&self, other: &FlexibleTimeWindow) -> bool
fn eq(&self, other: &FlexibleTimeWindow) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FlexibleTimeWindow
Auto Trait Implementations§
impl RefUnwindSafe for FlexibleTimeWindow
impl Send for FlexibleTimeWindow
impl Sync for FlexibleTimeWindow
impl Unpin for FlexibleTimeWindow
impl UnwindSafe for FlexibleTimeWindow
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