Struct aws_sdk_mq::types::WeeklyStartTime
source · #[non_exhaustive]pub struct WeeklyStartTime {
pub day_of_week: Option<DayOfWeek>,
pub time_of_day: Option<String>,
pub time_zone: Option<String>,
}
Expand description
The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.
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.day_of_week: Option<DayOfWeek>
Required. The day of the week.
time_of_day: Option<String>
Required. The time, in 24-hour format.
time_zone: Option<String>
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
Implementations§
source§impl WeeklyStartTime
impl WeeklyStartTime
sourcepub fn day_of_week(&self) -> Option<&DayOfWeek>
pub fn day_of_week(&self) -> Option<&DayOfWeek>
Required. The day of the week.
sourcepub fn time_of_day(&self) -> Option<&str>
pub fn time_of_day(&self) -> Option<&str>
Required. The time, in 24-hour format.
source§impl WeeklyStartTime
impl WeeklyStartTime
sourcepub fn builder() -> WeeklyStartTimeBuilder
pub fn builder() -> WeeklyStartTimeBuilder
Creates a new builder-style object to manufacture WeeklyStartTime
.
Trait Implementations§
source§impl Clone for WeeklyStartTime
impl Clone for WeeklyStartTime
source§fn clone(&self) -> WeeklyStartTime
fn clone(&self) -> WeeklyStartTime
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 WeeklyStartTime
impl Debug for WeeklyStartTime
source§impl PartialEq for WeeklyStartTime
impl PartialEq for WeeklyStartTime
source§fn eq(&self, other: &WeeklyStartTime) -> bool
fn eq(&self, other: &WeeklyStartTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WeeklyStartTime
Auto Trait Implementations§
impl Freeze for WeeklyStartTime
impl RefUnwindSafe for WeeklyStartTime
impl Send for WeeklyStartTime
impl Sync for WeeklyStartTime
impl Unpin for WeeklyStartTime
impl UnwindSafe for WeeklyStartTime
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.