pub struct MaintenanceWindowSpec {
pub start_hour: i32,
pub duration_in_hours: i32,
pub days: Vec<String>,
pub extra: Value,
}
Expand description
Maintenance window timeframes if mode is set to ‘manual’. Up to 7 maintenance windows can be provided.
Fields§
§start_hour: i32
Starting hour of the maintenance window. Can be between ‘0’ (12 AM in the deployment region’s local time) and ‘23’ (11 PM in the deployment region’s local time).
duration_in_hours: i32
The duration of the maintenance window in hours. Can be between 4-24 hours (or 8-24 hours if using ‘ram-and-flash’).
days: Vec<String>
Days where this maintenance window applies. Can contain one or more of: “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, or “Sunday”.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for MaintenanceWindowSpec
impl Clone for MaintenanceWindowSpec
Source§fn clone(&self) -> MaintenanceWindowSpec
fn clone(&self) -> MaintenanceWindowSpec
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 Debug for MaintenanceWindowSpec
impl Debug for MaintenanceWindowSpec
Source§impl<'de> Deserialize<'de> for MaintenanceWindowSpec
impl<'de> Deserialize<'de> for MaintenanceWindowSpec
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
Auto Trait Implementations§
impl Freeze for MaintenanceWindowSpec
impl RefUnwindSafe for MaintenanceWindowSpec
impl Send for MaintenanceWindowSpec
impl Sync for MaintenanceWindowSpec
impl Unpin for MaintenanceWindowSpec
impl UnwindSafe for MaintenanceWindowSpec
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