#[non_exhaustive]pub struct ChatParticipantRoleConfigBuilder { /* private fields */ }
Expand description
A builder for ChatParticipantRoleConfig
.
Implementations§
source§impl ChatParticipantRoleConfigBuilder
impl ChatParticipantRoleConfigBuilder
sourcepub fn participant_timer_config_list(
self,
input: ParticipantTimerConfiguration
) -> Self
pub fn participant_timer_config_list( self, input: ParticipantTimerConfiguration ) -> Self
Appends an item to participant_timer_config_list
.
To override the contents of this collection use set_participant_timer_config_list
.
A list of participant timers. You can specify any unique combination of role and timer type. Duplicate entries error out the request with a 400.
sourcepub fn set_participant_timer_config_list(
self,
input: Option<Vec<ParticipantTimerConfiguration>>
) -> Self
pub fn set_participant_timer_config_list( self, input: Option<Vec<ParticipantTimerConfiguration>> ) -> Self
A list of participant timers. You can specify any unique combination of role and timer type. Duplicate entries error out the request with a 400.
sourcepub fn get_participant_timer_config_list(
&self
) -> &Option<Vec<ParticipantTimerConfiguration>>
pub fn get_participant_timer_config_list( &self ) -> &Option<Vec<ParticipantTimerConfiguration>>
A list of participant timers. You can specify any unique combination of role and timer type. Duplicate entries error out the request with a 400.
sourcepub fn build(self) -> ChatParticipantRoleConfig
pub fn build(self) -> ChatParticipantRoleConfig
Consumes the builder and constructs a ChatParticipantRoleConfig
.
Trait Implementations§
source§impl Clone for ChatParticipantRoleConfigBuilder
impl Clone for ChatParticipantRoleConfigBuilder
source§fn clone(&self) -> ChatParticipantRoleConfigBuilder
fn clone(&self) -> ChatParticipantRoleConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ChatParticipantRoleConfigBuilder
impl Default for ChatParticipantRoleConfigBuilder
source§fn default() -> ChatParticipantRoleConfigBuilder
fn default() -> ChatParticipantRoleConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ChatParticipantRoleConfigBuilder> for ChatParticipantRoleConfigBuilder
impl PartialEq<ChatParticipantRoleConfigBuilder> for ChatParticipantRoleConfigBuilder
source§fn eq(&self, other: &ChatParticipantRoleConfigBuilder) -> bool
fn eq(&self, other: &ChatParticipantRoleConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChatParticipantRoleConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ChatParticipantRoleConfigBuilder
impl Send for ChatParticipantRoleConfigBuilder
impl Sync for ChatParticipantRoleConfigBuilder
impl Unpin for ChatParticipantRoleConfigBuilder
impl UnwindSafe for ChatParticipantRoleConfigBuilder
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