#[non_exhaustive]pub struct ParticipantTimerConfiguration {
pub participant_role: Option<TimerEligibleParticipantRoles>,
pub timer_type: Option<ParticipantTimerType>,
pub timer_value: Option<ParticipantTimerValue>,
}
Expand description
Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
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.participant_role: Option<TimerEligibleParticipantRoles>
The role of the participant in the chat conversation.
timer_type: Option<ParticipantTimerType>
The type of timer. IDLE
indicates the timer applies for considering a human chat participant as idle. DISCONNECT_NONCUSTOMER
indicates the timer applies to automatically disconnecting a chat participant due to idleness.
timer_value: Option<ParticipantTimerValue>
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.
Implementations§
source§impl ParticipantTimerConfiguration
impl ParticipantTimerConfiguration
sourcepub fn participant_role(&self) -> Option<&TimerEligibleParticipantRoles>
pub fn participant_role(&self) -> Option<&TimerEligibleParticipantRoles>
The role of the participant in the chat conversation.
sourcepub fn timer_type(&self) -> Option<&ParticipantTimerType>
pub fn timer_type(&self) -> Option<&ParticipantTimerType>
The type of timer. IDLE
indicates the timer applies for considering a human chat participant as idle. DISCONNECT_NONCUSTOMER
indicates the timer applies to automatically disconnecting a chat participant due to idleness.
sourcepub fn timer_value(&self) -> Option<&ParticipantTimerValue>
pub fn timer_value(&self) -> Option<&ParticipantTimerValue>
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.
source§impl ParticipantTimerConfiguration
impl ParticipantTimerConfiguration
sourcepub fn builder() -> ParticipantTimerConfigurationBuilder
pub fn builder() -> ParticipantTimerConfigurationBuilder
Creates a new builder-style object to manufacture ParticipantTimerConfiguration
.
Trait Implementations§
source§impl Clone for ParticipantTimerConfiguration
impl Clone for ParticipantTimerConfiguration
source§fn clone(&self) -> ParticipantTimerConfiguration
fn clone(&self) -> ParticipantTimerConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ParticipantTimerConfiguration> for ParticipantTimerConfiguration
impl PartialEq<ParticipantTimerConfiguration> for ParticipantTimerConfiguration
source§fn eq(&self, other: &ParticipantTimerConfiguration) -> bool
fn eq(&self, other: &ParticipantTimerConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.