Struct aws_sdk_connect::types::AgentContactReference
source · #[non_exhaustive]pub struct AgentContactReference {
pub contact_id: Option<String>,
pub channel: Option<Channel>,
pub initiation_method: Option<ContactInitiationMethod>,
pub agent_contact_state: Option<ContactState>,
pub state_start_timestamp: Option<DateTime>,
pub connected_to_agent_timestamp: Option<DateTime>,
pub queue: Option<QueueReference>,
}
Expand description
Information about the contact associated to the user.
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.contact_id: Option<String>
The identifier of the contact in this instance of Amazon Connect.
channel: Option<Channel>
The channel of the contact.
initiation_method: Option<ContactInitiationMethod>
How the contact was initiated.
agent_contact_state: Option<ContactState>
The state of the contact.
state_start_timestamp: Option<DateTime>
The epoch timestamp when the contact state started.
connected_to_agent_timestamp: Option<DateTime>
The time at which the contact was connected to an agent.
queue: Option<QueueReference>
Contains information about a queue resource for which metrics are returned.
Implementations§
source§impl AgentContactReference
impl AgentContactReference
sourcepub fn contact_id(&self) -> Option<&str>
pub fn contact_id(&self) -> Option<&str>
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
pub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
How the contact was initiated.
sourcepub fn agent_contact_state(&self) -> Option<&ContactState>
pub fn agent_contact_state(&self) -> Option<&ContactState>
The state of the contact.
sourcepub fn state_start_timestamp(&self) -> Option<&DateTime>
pub fn state_start_timestamp(&self) -> Option<&DateTime>
The epoch timestamp when the contact state started.
sourcepub fn connected_to_agent_timestamp(&self) -> Option<&DateTime>
pub fn connected_to_agent_timestamp(&self) -> Option<&DateTime>
The time at which the contact was connected to an agent.
sourcepub fn queue(&self) -> Option<&QueueReference>
pub fn queue(&self) -> Option<&QueueReference>
Contains information about a queue resource for which metrics are returned.
source§impl AgentContactReference
impl AgentContactReference
sourcepub fn builder() -> AgentContactReferenceBuilder
pub fn builder() -> AgentContactReferenceBuilder
Creates a new builder-style object to manufacture AgentContactReference
.
Trait Implementations§
source§impl Clone for AgentContactReference
impl Clone for AgentContactReference
source§fn clone(&self) -> AgentContactReference
fn clone(&self) -> AgentContactReference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentContactReference
impl Debug for AgentContactReference
source§impl PartialEq<AgentContactReference> for AgentContactReference
impl PartialEq<AgentContactReference> for AgentContactReference
source§fn eq(&self, other: &AgentContactReference) -> bool
fn eq(&self, other: &AgentContactReference) -> bool
self
and other
values to be equal, and is used
by ==
.