Struct aws_sdk_connect::model::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
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