#[non_exhaustive]pub struct AutoTuneMaintenanceSchedule {
pub start_at: Option<DateTime>,
pub duration: Option<Duration>,
pub cron_expression_for_recurrence: Option<String>,
}
Expand description
Specifies Auto-Tune maitenance schedule. See the Developer Guide for more information.
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.start_at: Option<DateTime>
Specifies timestamp at which Auto-Tune maintenance schedule start.
duration: Option<Duration>
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
cron_expression_for_recurrence: Option<String>
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
Implementations§
source§impl AutoTuneMaintenanceSchedule
impl AutoTuneMaintenanceSchedule
sourcepub fn start_at(&self) -> Option<&DateTime>
pub fn start_at(&self) -> Option<&DateTime>
Specifies timestamp at which Auto-Tune maintenance schedule start.
sourcepub fn duration(&self) -> Option<&Duration>
pub fn duration(&self) -> Option<&Duration>
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
sourcepub fn cron_expression_for_recurrence(&self) -> Option<&str>
pub fn cron_expression_for_recurrence(&self) -> Option<&str>
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
source§impl AutoTuneMaintenanceSchedule
impl AutoTuneMaintenanceSchedule
sourcepub fn builder() -> AutoTuneMaintenanceScheduleBuilder
pub fn builder() -> AutoTuneMaintenanceScheduleBuilder
Creates a new builder-style object to manufacture AutoTuneMaintenanceSchedule
.
Trait Implementations§
source§impl Clone for AutoTuneMaintenanceSchedule
impl Clone for AutoTuneMaintenanceSchedule
source§fn clone(&self) -> AutoTuneMaintenanceSchedule
fn clone(&self) -> AutoTuneMaintenanceSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoTuneMaintenanceSchedule
impl Debug for AutoTuneMaintenanceSchedule
source§impl PartialEq for AutoTuneMaintenanceSchedule
impl PartialEq for AutoTuneMaintenanceSchedule
source§fn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
fn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
self
and other
values to be equal, and is used
by ==
.