#[non_exhaustive]pub struct ParticipantCapabilitiesBuilder { /* private fields */ }
Expand description
A builder for ParticipantCapabilities
.
Implementations§
source§impl ParticipantCapabilitiesBuilder
impl ParticipantCapabilitiesBuilder
sourcepub fn video(self, input: VideoCapability) -> Self
pub fn video(self, input: VideoCapability) -> Self
The configuration having the video sharing capabilities for participants over the call.
sourcepub fn set_video(self, input: Option<VideoCapability>) -> Self
pub fn set_video(self, input: Option<VideoCapability>) -> Self
The configuration having the video sharing capabilities for participants over the call.
sourcepub fn get_video(&self) -> &Option<VideoCapability>
pub fn get_video(&self) -> &Option<VideoCapability>
The configuration having the video sharing capabilities for participants over the call.
sourcepub fn build(self) -> ParticipantCapabilities
pub fn build(self) -> ParticipantCapabilities
Consumes the builder and constructs a ParticipantCapabilities
.
Trait Implementations§
source§impl Clone for ParticipantCapabilitiesBuilder
impl Clone for ParticipantCapabilitiesBuilder
source§fn clone(&self) -> ParticipantCapabilitiesBuilder
fn clone(&self) -> ParticipantCapabilitiesBuilder
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 ParticipantCapabilitiesBuilder
impl Default for ParticipantCapabilitiesBuilder
source§fn default() -> ParticipantCapabilitiesBuilder
fn default() -> ParticipantCapabilitiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ParticipantCapabilitiesBuilder
impl PartialEq for ParticipantCapabilitiesBuilder
source§fn eq(&self, other: &ParticipantCapabilitiesBuilder) -> bool
fn eq(&self, other: &ParticipantCapabilitiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParticipantCapabilitiesBuilder
Auto Trait Implementations§
impl Freeze for ParticipantCapabilitiesBuilder
impl RefUnwindSafe for ParticipantCapabilitiesBuilder
impl Send for ParticipantCapabilitiesBuilder
impl Sync for ParticipantCapabilitiesBuilder
impl Unpin for ParticipantCapabilitiesBuilder
impl UnwindSafe for ParticipantCapabilitiesBuilder
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.