Struct aws_sdk_connectcases::types::ContactContent
source · #[non_exhaustive]pub struct ContactContent {
pub contact_arn: String,
pub channel: String,
pub connected_to_system_time: 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: StringA unique identifier of a contact in Amazon Connect.
channel: StringA list of channels to filter on for related items of type Contact.
connected_to_system_time: DateTimeThe difference between the InitiationTimestamp and the DisconnectTimestamp of the contact.
Implementations§
source§impl ContactContent
impl ContactContent
sourcepub fn contact_arn(&self) -> &str
pub fn contact_arn(&self) -> &str
A unique identifier of a contact in Amazon Connect.
sourcepub fn channel(&self) -> &str
pub fn channel(&self) -> &str
A list of channels to filter on for related items of type Contact.
sourcepub fn connected_to_system_time(&self) -> &DateTime
pub fn connected_to_system_time(&self) -> &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 Freeze for ContactContent
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
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.