Struct aws_sdk_backupgateway::types::MaintenanceStartTime
source · #[non_exhaustive]pub struct MaintenanceStartTime {
pub day_of_month: Option<i32>,
pub day_of_week: Option<i32>,
pub hour_of_day: i32,
pub minute_of_hour: i32,
}
Expand description
This is your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.day_of_month: Option<i32>
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
day_of_week: Option<i32>
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
hour_of_day: i32
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
minute_of_hour: i32
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
Implementations§
source§impl MaintenanceStartTime
impl MaintenanceStartTime
sourcepub fn day_of_month(&self) -> Option<i32>
pub fn day_of_month(&self) -> Option<i32>
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
sourcepub fn day_of_week(&self) -> Option<i32>
pub fn day_of_week(&self) -> Option<i32>
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
sourcepub fn hour_of_day(&self) -> i32
pub fn hour_of_day(&self) -> i32
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
sourcepub fn minute_of_hour(&self) -> i32
pub fn minute_of_hour(&self) -> i32
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
source§impl MaintenanceStartTime
impl MaintenanceStartTime
sourcepub fn builder() -> MaintenanceStartTimeBuilder
pub fn builder() -> MaintenanceStartTimeBuilder
Creates a new builder-style object to manufacture MaintenanceStartTime
.
Trait Implementations§
source§impl Clone for MaintenanceStartTime
impl Clone for MaintenanceStartTime
source§fn clone(&self) -> MaintenanceStartTime
fn clone(&self) -> MaintenanceStartTime
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MaintenanceStartTime
impl Debug for MaintenanceStartTime
source§impl PartialEq for MaintenanceStartTime
impl PartialEq for MaintenanceStartTime
source§fn eq(&self, other: &MaintenanceStartTime) -> bool
fn eq(&self, other: &MaintenanceStartTime) -> bool
self
and other
values to be equal, and is used
by ==
.