Struct aws_sdk_connect::model::Contact
source · [−]#[non_exhaustive]pub struct Contact {Show 14 fields
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 name: Option<String>,
pub description: Option<String>,
pub channel: Option<Channel>,
pub queue_info: Option<QueueInfo>,
pub agent_info: Option<AgentInfo>,
pub initiation_timestamp: Option<DateTime>,
pub disconnect_timestamp: Option<DateTime>,
pub last_update_timestamp: Option<DateTime>,
pub scheduled_timestamp: Option<DateTime>,
}
Expand description
Contains information about a 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) for the contact.
id: Option<String>
The identifier for the contact.
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.
name: Option<String>
The name of the contact.
description: Option<String>
The description of the contact.
channel: Option<Channel>
How the contact reached your contact center.
queue_info: Option<QueueInfo>
If this contact was queued, this contains information about the queue.
agent_info: Option<AgentInfo>
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.
disconnect_timestamp: Option<DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
last_update_timestamp: Option<DateTime>
The timestamp when contact was last updated.
scheduled_timestamp: Option<DateTime>
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
Implementations
sourceimpl Contact
impl Contact
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the contact.
sourcepub fn queue_info(&self) -> Option<&QueueInfo>
pub fn queue_info(&self) -> Option<&QueueInfo>
If this contact was queued, this contains information about the queue.
sourcepub fn agent_info(&self) -> Option<&AgentInfo>
pub fn agent_info(&self) -> Option<&AgentInfo>
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.
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 last_update_timestamp(&self) -> Option<&DateTime>
pub fn last_update_timestamp(&self) -> Option<&DateTime>
The timestamp when contact was last updated.
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.
Trait Implementations
impl StructuralPartialEq for Contact
Auto Trait Implementations
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more