pub struct MaintenanceWindowOptionsProperties {
pub is_enabled: Option<bool>,
pub maintenance_window_cycles: Vec<MaintenanceWindowTimeRange>,
pub min_duration_in_minutes: Option<i32>,
pub default_duration_in_minutes: Option<i32>,
pub min_cycles: Option<i32>,
pub time_granularity_in_minutes: Option<i32>,
pub allow_multiple_maintenance_windows_per_cycle: Option<bool>,
}Expand description
Maintenance window options properties.
Fields§
§is_enabled: Option<bool>Whether maintenance windows are enabled for the database.
maintenance_window_cycles: Vec<MaintenanceWindowTimeRange>Available maintenance cycles e.g. {Saturday, 0, 4860}, {Wednesday, 0, 2460}.
min_duration_in_minutes: Option<i32>Minimum duration of maintenance window.
default_duration_in_minutes: Option<i32>Default duration for maintenance window.
min_cycles: Option<i32>Minimum number of maintenance windows cycles to be set on the database.
time_granularity_in_minutes: Option<i32>Time granularity in minutes for maintenance windows.
allow_multiple_maintenance_windows_per_cycle: Option<bool>Whether we allow multiple maintenance windows per cycle.
Implementations§
Trait Implementations§
Source§impl Clone for MaintenanceWindowOptionsProperties
impl Clone for MaintenanceWindowOptionsProperties
Source§fn clone(&self) -> MaintenanceWindowOptionsProperties
fn clone(&self) -> MaintenanceWindowOptionsProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MaintenanceWindowOptionsProperties
impl Default for MaintenanceWindowOptionsProperties
Source§fn default() -> MaintenanceWindowOptionsProperties
fn default() -> MaintenanceWindowOptionsProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MaintenanceWindowOptionsProperties
impl<'de> Deserialize<'de> for MaintenanceWindowOptionsProperties
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MaintenanceWindowOptionsProperties
impl PartialEq for MaintenanceWindowOptionsProperties
Source§fn eq(&self, other: &MaintenanceWindowOptionsProperties) -> bool
fn eq(&self, other: &MaintenanceWindowOptionsProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaintenanceWindowOptionsProperties
Auto Trait Implementations§
impl Freeze for MaintenanceWindowOptionsProperties
impl RefUnwindSafe for MaintenanceWindowOptionsProperties
impl Send for MaintenanceWindowOptionsProperties
impl Sync for MaintenanceWindowOptionsProperties
impl Unpin for MaintenanceWindowOptionsProperties
impl UnwindSafe for MaintenanceWindowOptionsProperties
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
Mutably borrows from an owned value. Read more