Struct aws_sdk_connect::types::HoursOfOperation
source · #[non_exhaustive]pub struct HoursOfOperation {
pub hours_of_operation_id: Option<String>,
pub hours_of_operation_arn: 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>>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
}
Expand description
Information about of the hours of operation.
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.hours_of_operation_id: Option<String>
The identifier for the hours of operation.
hours_of_operation_arn: Option<String>
The Amazon Resource Name (ARN) for the hours of operation.
name: Option<String>
The name for the hours of operation.
description: Option<String>
The description for the hours of operation.
time_zone: Option<String>
The time zone for the hours of operation.
config: Option<Vec<HoursOfOperationConfig>>
Configuration information for the hours of operation.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
last_modified_time: Option<DateTime>
The timestamp when this resource was last modified.
last_modified_region: Option<String>
The Amazon Web Services Region where this resource was last modified.
Implementations§
source§impl HoursOfOperation
impl HoursOfOperation
sourcepub fn hours_of_operation_id(&self) -> Option<&str>
pub fn hours_of_operation_id(&self) -> Option<&str>
The identifier for the hours of operation.
sourcepub fn hours_of_operation_arn(&self) -> Option<&str>
pub fn hours_of_operation_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the hours of operation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the hours of operation.
sourcepub fn config(&self) -> &[HoursOfOperationConfig]
pub fn config(&self) -> &[HoursOfOperationConfig]
Configuration information for the hours of operation.
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"} }.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
The Amazon Web Services Region where this resource was last modified.
source§impl HoursOfOperation
impl HoursOfOperation
sourcepub fn builder() -> HoursOfOperationBuilder
pub fn builder() -> HoursOfOperationBuilder
Creates a new builder-style object to manufacture HoursOfOperation
.
Trait Implementations§
source§impl Clone for HoursOfOperation
impl Clone for HoursOfOperation
source§fn clone(&self) -> HoursOfOperation
fn clone(&self) -> HoursOfOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HoursOfOperation
impl Debug for HoursOfOperation
source§impl PartialEq for HoursOfOperation
impl PartialEq for HoursOfOperation
source§fn eq(&self, other: &HoursOfOperation) -> bool
fn eq(&self, other: &HoursOfOperation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HoursOfOperation
Auto Trait Implementations§
impl Freeze for HoursOfOperation
impl RefUnwindSafe for HoursOfOperation
impl Send for HoursOfOperation
impl Sync for HoursOfOperation
impl Unpin for HoursOfOperation
impl UnwindSafe for HoursOfOperation
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