Struct aws_sdk_connect::types::AgentContactReference
source · #[non_exhaustive]pub struct AgentContactReference { /* private fields */ }Expand description
Information about the contact associated to the user.
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
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 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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AgentContactReference
Auto Trait Implementations§
impl RefUnwindSafe for AgentContactReference
impl Send for AgentContactReference
impl Sync for AgentContactReference
impl Unpin for AgentContactReference
impl UnwindSafe for AgentContactReference
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