Struct aws_sdk_connect::types::ContactSearchSummary
source · #[non_exhaustive]pub struct ContactSearchSummary {
pub arn: Option<String>,
pub id: Option<String>,
pub initial_contact_id: Option<String>,
pub previous_contact_id: Option<String>,
pub initiation_method: Option<ContactInitiationMethod>,
pub channel: Option<Channel>,
pub queue_info: Option<ContactSearchSummaryQueueInfo>,
pub agent_info: Option<ContactSearchSummaryAgentInfo>,
pub initiation_timestamp: Option<DateTime>,
pub disconnect_timestamp: Option<DateTime>,
pub scheduled_timestamp: Option<DateTime>,
}
Expand description
Information of returned contact.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the contact.
id: Option<String>
The identifier of the contact summary.
initial_contact_id: Option<String>
If this contact is related to other contacts, this is the ID of the initial contact.
previous_contact_id: Option<String>
If this contact is not the first contact, this is the ID of the previous contact.
initiation_method: Option<ContactInitiationMethod>
Indicates how the contact was initiated.
channel: Option<Channel>
How the contact reached your contact center.
queue_info: Option<ContactSearchSummaryQueueInfo>
If this contact was queued, this contains information about the queue.
agent_info: Option<ContactSearchSummaryAgentInfo>
Information about the agent who accepted the contact.
initiation_timestamp: Option<DateTime>
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
disconnect_timestamp: Option<DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
scheduled_timestamp: Option<DateTime>
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
Implementations§
source§impl ContactSearchSummary
impl ContactSearchSummary
sourcepub fn initial_contact_id(&self) -> Option<&str>
pub fn initial_contact_id(&self) -> Option<&str>
If this contact is related to other contacts, this is the ID of the initial contact.
sourcepub fn previous_contact_id(&self) -> Option<&str>
pub fn previous_contact_id(&self) -> Option<&str>
If this contact is not the first contact, this is the ID of the previous contact.
sourcepub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
pub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
Indicates how the contact was initiated.
sourcepub fn queue_info(&self) -> Option<&ContactSearchSummaryQueueInfo>
pub fn queue_info(&self) -> Option<&ContactSearchSummaryQueueInfo>
If this contact was queued, this contains information about the queue.
sourcepub fn agent_info(&self) -> Option<&ContactSearchSummaryAgentInfo>
pub fn agent_info(&self) -> Option<&ContactSearchSummaryAgentInfo>
Information about the agent who accepted the contact.
sourcepub fn initiation_timestamp(&self) -> Option<&DateTime>
pub fn initiation_timestamp(&self) -> Option<&DateTime>
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
sourcepub fn disconnect_timestamp(&self) -> Option<&DateTime>
pub fn disconnect_timestamp(&self) -> Option<&DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
sourcepub fn scheduled_timestamp(&self) -> Option<&DateTime>
pub fn scheduled_timestamp(&self) -> Option<&DateTime>
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
source§impl ContactSearchSummary
impl ContactSearchSummary
sourcepub fn builder() -> ContactSearchSummaryBuilder
pub fn builder() -> ContactSearchSummaryBuilder
Creates a new builder-style object to manufacture ContactSearchSummary
.
Trait Implementations§
source§impl Clone for ContactSearchSummary
impl Clone for ContactSearchSummary
source§fn clone(&self) -> ContactSearchSummary
fn clone(&self) -> ContactSearchSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactSearchSummary
impl Debug for ContactSearchSummary
source§impl PartialEq for ContactSearchSummary
impl PartialEq for ContactSearchSummary
source§fn eq(&self, other: &ContactSearchSummary) -> bool
fn eq(&self, other: &ContactSearchSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactSearchSummary
Auto Trait Implementations§
impl Freeze for ContactSearchSummary
impl RefUnwindSafe for ContactSearchSummary
impl Send for ContactSearchSummary
impl Sync for ContactSearchSummary
impl Unpin for ContactSearchSummary
impl UnwindSafe for ContactSearchSummary
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