Struct aws_sdk_mediaconnect::types::AddMaintenance
source · #[non_exhaustive]pub struct AddMaintenance {
pub maintenance_day: Option<MaintenanceDay>,
pub maintenance_start_hour: Option<String>,
}Expand description
Create maintenance setting for a flow
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.maintenance_day: Option<MaintenanceDay>A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
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 AddMaintenance
impl AddMaintenance
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_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 AddMaintenance
impl AddMaintenance
sourcepub fn builder() -> AddMaintenanceBuilder
pub fn builder() -> AddMaintenanceBuilder
Creates a new builder-style object to manufacture AddMaintenance.
Trait Implementations§
source§impl Clone for AddMaintenance
impl Clone for AddMaintenance
source§fn clone(&self) -> AddMaintenance
fn clone(&self) -> AddMaintenance
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 AddMaintenance
impl Debug for AddMaintenance
source§impl PartialEq for AddMaintenance
impl PartialEq for AddMaintenance
source§fn eq(&self, other: &AddMaintenance) -> bool
fn eq(&self, other: &AddMaintenance) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddMaintenance
Auto Trait Implementations§
impl RefUnwindSafe for AddMaintenance
impl Send for AddMaintenance
impl Sync for AddMaintenance
impl Unpin for AddMaintenance
impl UnwindSafe for AddMaintenance
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>
Creates a shared type from an unshared type.