Struct aws_sdk_mediaconnect::types::Maintenance
source · #[non_exhaustive]pub struct Maintenance {
pub maintenance_day: Option<MaintenanceDay>,
pub maintenance_deadline: Option<String>,
pub maintenance_scheduled_date: Option<String>,
pub maintenance_start_hour: Option<String>,
}
Expand description
The maintenance setting of 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_deadline: Option<String>
The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
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 Maintenance
impl Maintenance
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_deadline(&self) -> Option<&str>
pub fn maintenance_deadline(&self) -> Option<&str>
The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
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 Maintenance
impl Maintenance
sourcepub fn builder() -> MaintenanceBuilder
pub fn builder() -> MaintenanceBuilder
Creates a new builder-style object to manufacture Maintenance
.
Trait Implementations§
source§impl Clone for Maintenance
impl Clone for Maintenance
source§fn clone(&self) -> Maintenance
fn clone(&self) -> Maintenance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Maintenance
impl Debug for Maintenance
source§impl PartialEq for Maintenance
impl PartialEq for Maintenance
source§fn eq(&self, other: &Maintenance) -> bool
fn eq(&self, other: &Maintenance) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Maintenance
Auto Trait Implementations§
impl Freeze for Maintenance
impl RefUnwindSafe for Maintenance
impl Send for Maintenance
impl Sync for Maintenance
impl Unpin for Maintenance
impl UnwindSafe for Maintenance
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