Struct aws_sdk_connectcases::types::ContactContent
source · #[non_exhaustive]pub struct ContactContent {
pub contact_arn: Option<String>,
pub channel: Option<String>,
pub connected_to_system_time: Option<DateTime>,
}
Expand description
An object that represents a content of an Amazon Connect contact object.
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.contact_arn: Option<String>
A unique identifier of a contact in Amazon Connect.
channel: Option<String>
A list of channels to filter on for related items of type Contact
.
connected_to_system_time: Option<DateTime>
The difference between the InitiationTimestamp
and the DisconnectTimestamp
of the contact.
Implementations§
source§impl ContactContent
impl ContactContent
sourcepub fn contact_arn(&self) -> Option<&str>
pub fn contact_arn(&self) -> Option<&str>
A unique identifier of a contact in Amazon Connect.
sourcepub fn channel(&self) -> Option<&str>
pub fn channel(&self) -> Option<&str>
A list of channels to filter on for related items of type Contact
.
sourcepub fn connected_to_system_time(&self) -> Option<&DateTime>
pub fn connected_to_system_time(&self) -> Option<&DateTime>
The difference between the InitiationTimestamp
and the DisconnectTimestamp
of the contact.
source§impl ContactContent
impl ContactContent
sourcepub fn builder() -> ContactContentBuilder
pub fn builder() -> ContactContentBuilder
Creates a new builder-style object to manufacture ContactContent
.
Trait Implementations§
source§impl Clone for ContactContent
impl Clone for ContactContent
source§fn clone(&self) -> ContactContent
fn clone(&self) -> ContactContent
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 ContactContent
impl Debug for ContactContent
source§impl PartialEq for ContactContent
impl PartialEq for ContactContent
source§fn eq(&self, other: &ContactContent) -> bool
fn eq(&self, other: &ContactContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactContent
Auto Trait Implementations§
impl RefUnwindSafe for ContactContent
impl Send for ContactContent
impl Sync for ContactContent
impl Unpin for ContactContent
impl UnwindSafe for ContactContent
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