Struct aws_sdk_iot::types::MaintenanceWindow
source · #[non_exhaustive]pub struct MaintenanceWindow {
pub start_time: Option<String>,
pub duration_in_minutes: Option<i32>,
}
Expand description
An optional configuration within the SchedulingConfig
to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.
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: Option<String>
Displays the start time of the next maintenance window.
duration_in_minutes: Option<i32>
Displays the duration of the next maintenance window.
Implementations§
source§impl MaintenanceWindow
impl MaintenanceWindow
sourcepub fn start_time(&self) -> Option<&str>
pub fn start_time(&self) -> Option<&str>
Displays the start time of the next maintenance window.
sourcepub fn duration_in_minutes(&self) -> Option<i32>
pub fn duration_in_minutes(&self) -> Option<i32>
Displays the duration of the next maintenance window.
source§impl MaintenanceWindow
impl MaintenanceWindow
sourcepub fn builder() -> MaintenanceWindowBuilder
pub fn builder() -> MaintenanceWindowBuilder
Creates a new builder-style object to manufacture MaintenanceWindow
.
Trait Implementations§
source§impl Clone for MaintenanceWindow
impl Clone for MaintenanceWindow
source§fn clone(&self) -> MaintenanceWindow
fn clone(&self) -> MaintenanceWindow
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 MaintenanceWindow
impl Debug for MaintenanceWindow
source§impl PartialEq for MaintenanceWindow
impl PartialEq for MaintenanceWindow
source§fn eq(&self, other: &MaintenanceWindow) -> bool
fn eq(&self, other: &MaintenanceWindow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceWindow
Auto Trait Implementations§
impl RefUnwindSafe for MaintenanceWindow
impl Send for MaintenanceWindow
impl Sync for MaintenanceWindow
impl Unpin for MaintenanceWindow
impl UnwindSafe for MaintenanceWindow
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