Struct aws_sdk_mediaconnect::types::UpdateMaintenance
source · #[non_exhaustive]pub struct UpdateMaintenance {
pub maintenance_day: Option<MaintenanceDay>,
pub maintenance_scheduled_date: Option<String>,
pub maintenance_start_hour: Option<String>,
}
Expand description
Update maintenance setting for a flow
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.maintenance_day: Option<MaintenanceDay>
A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
maintenance_scheduled_date: Option<String>
A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
maintenance_start_hour: Option<String>
UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
Implementations§
source§impl UpdateMaintenance
impl UpdateMaintenance
sourcepub fn maintenance_day(&self) -> Option<&MaintenanceDay>
pub fn maintenance_day(&self) -> Option<&MaintenanceDay>
A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
sourcepub fn maintenance_scheduled_date(&self) -> Option<&str>
pub fn maintenance_scheduled_date(&self) -> Option<&str>
A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
sourcepub fn maintenance_start_hour(&self) -> Option<&str>
pub fn maintenance_start_hour(&self) -> Option<&str>
UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
source§impl UpdateMaintenance
impl UpdateMaintenance
sourcepub fn builder() -> UpdateMaintenanceBuilder
pub fn builder() -> UpdateMaintenanceBuilder
Creates a new builder-style object to manufacture UpdateMaintenance
.
Trait Implementations§
source§impl Clone for UpdateMaintenance
impl Clone for UpdateMaintenance
source§fn clone(&self) -> UpdateMaintenance
fn clone(&self) -> UpdateMaintenance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateMaintenance
impl Debug for UpdateMaintenance
source§impl PartialEq for UpdateMaintenance
impl PartialEq for UpdateMaintenance
source§fn eq(&self, other: &UpdateMaintenance) -> bool
fn eq(&self, other: &UpdateMaintenance) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateMaintenance
Auto Trait Implementations§
impl Freeze for UpdateMaintenance
impl RefUnwindSafe for UpdateMaintenance
impl Send for UpdateMaintenance
impl Sync for UpdateMaintenance
impl Unpin for UpdateMaintenance
impl UnwindSafe for UpdateMaintenance
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
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>
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>
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 more