pub struct MaintenanceWindow {
pub end_time: Option<DateTime<Utc>>,
pub recurrence: Option<String>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
The configuration settings for Cloud Composer maintenance window. The following example: { "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" }
would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>
Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to start_time
.
recurrence: Option<String>
Required. Maintenance window recurrence. Format is a subset of RFC-5545 RRULE
. The only allowed values for FREQ
field are FREQ=DAILY
and FREQ=WEEKLY;BYDAY=...
Example values: FREQ=WEEKLY;BYDAY=TU,WE
, FREQ=DAILY
.
start_time: Option<DateTime<Utc>>
Required. Start time of the first recurrence of the maintenance window.
Trait Implementations§
Source§impl Clone for MaintenanceWindow
impl Clone for MaintenanceWindow
Source§fn clone(&self) -> MaintenanceWindow
fn clone(&self) -> MaintenanceWindow
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MaintenanceWindow
impl Debug for MaintenanceWindow
Source§impl Default for MaintenanceWindow
impl Default for MaintenanceWindow
Source§fn default() -> MaintenanceWindow
fn default() -> MaintenanceWindow
Source§impl<'de> Deserialize<'de> for MaintenanceWindow
impl<'de> Deserialize<'de> for MaintenanceWindow
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>,
Source§impl Serialize for MaintenanceWindow
impl Serialize for MaintenanceWindow
impl Part for MaintenanceWindow
Auto Trait Implementations§
impl Freeze for MaintenanceWindow
impl RefUnwindSafe for MaintenanceWindow
impl Send for MaintenanceWindow
impl Sync for MaintenanceWindow
impl Unpin for MaintenanceWindow
impl UnwindSafe for MaintenanceWindow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more