Struct aws_sdk_connect::model::AgentContactReference
source · [−]#[non_exhaustive]pub struct AgentContactReference { /* private fields */ }
Expand description
Information about the contact associated to the user.
Implementations
sourceimpl 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.
sourceimpl AgentContactReference
impl AgentContactReference
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AgentContactReference
.
Trait Implementations
sourceimpl Clone for AgentContactReference
impl Clone for AgentContactReference
sourcefn clone(&self) -> AgentContactReference
fn clone(&self) -> AgentContactReference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AgentContactReference
impl Debug for AgentContactReference
sourceimpl PartialEq<AgentContactReference> for AgentContactReference
impl PartialEq<AgentContactReference> for AgentContactReference
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &AgentContactReference) -> bool
fn ne(&self, other: &AgentContactReference) -> bool
This method tests for !=
.
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
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> 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