Struct aws_sdk_iot::types::MaintenanceWindow
source · #[non_exhaustive]pub struct MaintenanceWindow {
pub start_time: String,
pub duration_in_minutes: 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: String
Displays the start time of the next maintenance window.
duration_in_minutes: i32
Displays the duration of the next maintenance window.
Implementations§
source§impl MaintenanceWindow
impl MaintenanceWindow
sourcepub fn start_time(&self) -> &str
pub fn start_time(&self) -> &str
Displays the start time of the next maintenance window.
sourcepub fn duration_in_minutes(&self) -> i32
pub fn duration_in_minutes(&self) -> 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 Freeze for MaintenanceWindow
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.