#[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 ==.impl StructuralPartialEq for AutoTuneMaintenanceSchedule
Auto Trait Implementations§
impl Freeze for AutoTuneMaintenanceSchedule
impl RefUnwindSafe for AutoTuneMaintenanceSchedule
impl Send for AutoTuneMaintenanceSchedule
impl Sync for AutoTuneMaintenanceSchedule
impl Unpin for AutoTuneMaintenanceSchedule
impl UnwindSafe for AutoTuneMaintenanceSchedule
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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