Struct aws_sdk_connect::types::RoutingCriteria
source · #[non_exhaustive]pub struct RoutingCriteria {
pub steps: Option<Vec<Step>>,
pub activation_timestamp: Option<DateTime>,
pub index: Option<i32>,
}Expand description
Latest routing criteria on the contact.
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.steps: Option<Vec<Step>>List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
activation_timestamp: Option<DateTime>The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
index: Option<i32>Information about the index of the routing criteria.
Implementations§
source§impl RoutingCriteria
impl RoutingCriteria
sourcepub fn steps(&self) -> &[Step]
pub fn steps(&self) -> &[Step]
List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .steps.is_none().
sourcepub fn activation_timestamp(&self) -> Option<&DateTime>
pub fn activation_timestamp(&self) -> Option<&DateTime>
The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
source§impl RoutingCriteria
impl RoutingCriteria
sourcepub fn builder() -> RoutingCriteriaBuilder
pub fn builder() -> RoutingCriteriaBuilder
Creates a new builder-style object to manufacture RoutingCriteria.
Trait Implementations§
source§impl Clone for RoutingCriteria
impl Clone for RoutingCriteria
source§fn clone(&self) -> RoutingCriteria
fn clone(&self) -> RoutingCriteria
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RoutingCriteria
impl Debug for RoutingCriteria
source§impl PartialEq for RoutingCriteria
impl PartialEq for RoutingCriteria
source§fn eq(&self, other: &RoutingCriteria) -> bool
fn eq(&self, other: &RoutingCriteria) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RoutingCriteria
Auto Trait Implementations§
impl Freeze for RoutingCriteria
impl RefUnwindSafe for RoutingCriteria
impl Send for RoutingCriteria
impl Sync for RoutingCriteria
impl Unpin for RoutingCriteria
impl UnwindSafe for RoutingCriteria
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
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>
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>
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 more