Struct aws_sdk_connect::types::AgentInfo
source · #[non_exhaustive]pub struct AgentInfo {
pub id: Option<String>,
pub connected_to_agent_timestamp: Option<DateTime>,
pub agent_pause_duration_in_seconds: Option<i32>,
pub hierarchy_groups: Option<HierarchyGroups>,
pub device_info: Option<DeviceInfo>,
pub capabilities: Option<ParticipantCapabilities>,
}
Expand description
Information about the agent who accepted the contact.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the agent who accepted the contact.
connected_to_agent_timestamp: Option<DateTime>
The timestamp when the contact was connected to the agent.
agent_pause_duration_in_seconds: Option<i32>
Agent pause duration for a contact in seconds.
hierarchy_groups: Option<HierarchyGroups>
The agent hierarchy groups for the agent.
device_info: Option<DeviceInfo>
Information regarding Agent’s device.
capabilities: Option<ParticipantCapabilities>
The configuration for the allowed capabilities for participants present over the call.
Implementations§
source§impl AgentInfo
impl AgentInfo
sourcepub fn connected_to_agent_timestamp(&self) -> Option<&DateTime>
pub fn connected_to_agent_timestamp(&self) -> Option<&DateTime>
The timestamp when the contact was connected to the agent.
sourcepub fn agent_pause_duration_in_seconds(&self) -> Option<i32>
pub fn agent_pause_duration_in_seconds(&self) -> Option<i32>
Agent pause duration for a contact in seconds.
sourcepub fn hierarchy_groups(&self) -> Option<&HierarchyGroups>
pub fn hierarchy_groups(&self) -> Option<&HierarchyGroups>
The agent hierarchy groups for the agent.
sourcepub fn device_info(&self) -> Option<&DeviceInfo>
pub fn device_info(&self) -> Option<&DeviceInfo>
Information regarding Agent’s device.
sourcepub fn capabilities(&self) -> Option<&ParticipantCapabilities>
pub fn capabilities(&self) -> Option<&ParticipantCapabilities>
The configuration for the allowed capabilities for participants present over the call.
Trait Implementations§
source§impl PartialEq for AgentInfo
impl PartialEq for AgentInfo
impl StructuralPartialEq for AgentInfo
Auto Trait Implementations§
impl Freeze for AgentInfo
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnwindSafe for AgentInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.