#[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
sourceimpl 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.
sourceimpl AutoTuneMaintenanceSchedule
impl AutoTuneMaintenanceSchedule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AutoTuneMaintenanceSchedule
Trait Implementations
sourceimpl Clone for AutoTuneMaintenanceSchedule
impl Clone for AutoTuneMaintenanceSchedule
sourcefn clone(&self) -> AutoTuneMaintenanceSchedule
fn clone(&self) -> AutoTuneMaintenanceSchedule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AutoTuneMaintenanceSchedule
impl Debug for AutoTuneMaintenanceSchedule
sourceimpl PartialEq<AutoTuneMaintenanceSchedule> for AutoTuneMaintenanceSchedule
impl PartialEq<AutoTuneMaintenanceSchedule> for AutoTuneMaintenanceSchedule
sourcefn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
fn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AutoTuneMaintenanceSchedule) -> bool
fn ne(&self, other: &AutoTuneMaintenanceSchedule) -> bool
This method tests for !=
.
impl StructuralPartialEq for AutoTuneMaintenanceSchedule
Auto Trait Implementations
impl RefUnwindSafe for AutoTuneMaintenanceSchedule
impl Send for AutoTuneMaintenanceSchedule
impl Sync for AutoTuneMaintenanceSchedule
impl Unpin for AutoTuneMaintenanceSchedule
impl UnwindSafe for AutoTuneMaintenanceSchedule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more