#[non_exhaustive]pub struct ParticipantDetailsToAddBuilder { /* private fields */ }
Expand description
A builder for ParticipantDetailsToAdd
.
Implementations§
source§impl ParticipantDetailsToAddBuilder
impl ParticipantDetailsToAddBuilder
sourcepub fn participant_role(self, input: ParticipantRole) -> Self
pub fn participant_role(self, input: ParticipantRole) -> Self
The role of the participant being added.
sourcepub fn set_participant_role(self, input: Option<ParticipantRole>) -> Self
pub fn set_participant_role(self, input: Option<ParticipantRole>) -> Self
The role of the participant being added.
sourcepub fn get_participant_role(&self) -> &Option<ParticipantRole>
pub fn get_participant_role(&self) -> &Option<ParticipantRole>
The role of the participant being added.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of the participant.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of the participant.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of the participant.
sourcepub fn build(self) -> ParticipantDetailsToAdd
pub fn build(self) -> ParticipantDetailsToAdd
Consumes the builder and constructs a ParticipantDetailsToAdd
.
Trait Implementations§
source§impl Clone for ParticipantDetailsToAddBuilder
impl Clone for ParticipantDetailsToAddBuilder
source§fn clone(&self) -> ParticipantDetailsToAddBuilder
fn clone(&self) -> ParticipantDetailsToAddBuilder
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 ParticipantDetailsToAddBuilder
impl Default for ParticipantDetailsToAddBuilder
source§fn default() -> ParticipantDetailsToAddBuilder
fn default() -> ParticipantDetailsToAddBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ParticipantDetailsToAddBuilder
impl PartialEq for ParticipantDetailsToAddBuilder
source§fn eq(&self, other: &ParticipantDetailsToAddBuilder) -> bool
fn eq(&self, other: &ParticipantDetailsToAddBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParticipantDetailsToAddBuilder
Auto Trait Implementations§
impl Freeze for ParticipantDetailsToAddBuilder
impl RefUnwindSafe for ParticipantDetailsToAddBuilder
impl Send for ParticipantDetailsToAddBuilder
impl Sync for ParticipantDetailsToAddBuilder
impl Unpin for ParticipantDetailsToAddBuilder
impl UnwindSafe for ParticipantDetailsToAddBuilder
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>
Creates a shared type from an unshared type.