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<WeeklyStartTime> for WeeklyStartTime
impl PartialEq<WeeklyStartTime> 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 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