#[non_exhaustive]pub struct CreateHoursOfOperationInput {
pub instance_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub time_zone: Option<String>,
pub config: Option<Vec<HoursOfOperationConfig>>,
pub tags: Option<HashMap<String, String>>,
}
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.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the hours of operation.
description: Option<String>
The description of the hours of operation.
time_zone: Option<String>
The time zone of the hours of operation.
config: Option<Vec<HoursOfOperationConfig>>
Configuration information for the hours of operation: day, start time, and end time.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateHoursOfOperationInput
impl CreateHoursOfOperationInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the hours of operation.
sourcepub fn config(&self) -> &[HoursOfOperationConfig]
pub fn config(&self) -> &[HoursOfOperationConfig]
Configuration information for the hours of operation: day, start time, and end time.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .config.is_none()
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateHoursOfOperationInput
impl CreateHoursOfOperationInput
sourcepub fn builder() -> CreateHoursOfOperationInputBuilder
pub fn builder() -> CreateHoursOfOperationInputBuilder
Creates a new builder-style object to manufacture CreateHoursOfOperationInput
.
Trait Implementations§
source§impl Clone for CreateHoursOfOperationInput
impl Clone for CreateHoursOfOperationInput
source§fn clone(&self) -> CreateHoursOfOperationInput
fn clone(&self) -> CreateHoursOfOperationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateHoursOfOperationInput
impl Debug for CreateHoursOfOperationInput
source§impl PartialEq for CreateHoursOfOperationInput
impl PartialEq for CreateHoursOfOperationInput
source§fn eq(&self, other: &CreateHoursOfOperationInput) -> bool
fn eq(&self, other: &CreateHoursOfOperationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateHoursOfOperationInput
Auto Trait Implementations§
impl Freeze for CreateHoursOfOperationInput
impl RefUnwindSafe for CreateHoursOfOperationInput
impl Send for CreateHoursOfOperationInput
impl Sync for CreateHoursOfOperationInput
impl Unpin for CreateHoursOfOperationInput
impl UnwindSafe for CreateHoursOfOperationInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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