#[non_exhaustive]pub struct DailyMaintenanceWindow {
pub start_time: String,
pub duration: String,
}Expand description
Time window specified for daily maintenance operations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: StringTime within the maintenance window to start the maintenance operations. Time format should be in RFC3339 format “HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
duration: StringOutput only. Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in RFC3339 format “PTnHnMnS”.
Implementations§
Source§impl DailyMaintenanceWindow
impl DailyMaintenanceWindow
Sourcepub fn set_start_time<T: Into<String>>(self, v: T) -> Self
pub fn set_start_time<T: Into<String>>(self, v: T) -> Self
Sets the value of start_time.
Sourcepub fn set_duration<T: Into<String>>(self, v: T) -> Self
pub fn set_duration<T: Into<String>>(self, v: T) -> Self
Sets the value of duration.
Trait Implementations§
Source§impl Clone for DailyMaintenanceWindow
impl Clone for DailyMaintenanceWindow
Source§fn clone(&self) -> DailyMaintenanceWindow
fn clone(&self) -> DailyMaintenanceWindow
Returns a copy 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 DailyMaintenanceWindow
impl Debug for DailyMaintenanceWindow
Source§impl Default for DailyMaintenanceWindow
impl Default for DailyMaintenanceWindow
Source§fn default() -> DailyMaintenanceWindow
fn default() -> DailyMaintenanceWindow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DailyMaintenanceWindowwhere
DailyMaintenanceWindow: Default,
impl<'de> Deserialize<'de> for DailyMaintenanceWindowwhere
DailyMaintenanceWindow: Default,
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 Message for DailyMaintenanceWindow
impl Message for DailyMaintenanceWindow
Source§impl PartialEq for DailyMaintenanceWindow
impl PartialEq for DailyMaintenanceWindow
Source§impl Serialize for DailyMaintenanceWindow
impl Serialize for DailyMaintenanceWindow
impl StructuralPartialEq for DailyMaintenanceWindow
Auto Trait Implementations§
impl Freeze for DailyMaintenanceWindow
impl RefUnwindSafe for DailyMaintenanceWindow
impl Send for DailyMaintenanceWindow
impl Sync for DailyMaintenanceWindow
impl Unpin for DailyMaintenanceWindow
impl UnwindSafe for DailyMaintenanceWindow
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