#[non_exhaustive]pub struct MediaStreamAttributesRequestBuilder { /* private fields */ }Expand description
A builder for MediaStreamAttributesRequest.
Implementations§
source§impl MediaStreamAttributesRequestBuilder
impl MediaStreamAttributesRequestBuilder
sourcepub fn fmtp(self, input: FmtpRequest) -> Self
pub fn fmtp(self, input: FmtpRequest) -> Self
The settings that you want to use to define the media stream.
sourcepub fn set_fmtp(self, input: Option<FmtpRequest>) -> Self
pub fn set_fmtp(self, input: Option<FmtpRequest>) -> Self
The settings that you want to use to define the media stream.
sourcepub fn get_fmtp(&self) -> &Option<FmtpRequest>
pub fn get_fmtp(&self) -> &Option<FmtpRequest>
The settings that you want to use to define the media stream.
sourcepub fn lang(self, input: impl Into<String>) -> Self
pub fn lang(self, input: impl Into<String>) -> Self
The audio language, in a format that is recognized by the receiver.
sourcepub fn set_lang(self, input: Option<String>) -> Self
pub fn set_lang(self, input: Option<String>) -> Self
The audio language, in a format that is recognized by the receiver.
sourcepub fn get_lang(&self) -> &Option<String>
pub fn get_lang(&self) -> &Option<String>
The audio language, in a format that is recognized by the receiver.
sourcepub fn build(self) -> MediaStreamAttributesRequest
pub fn build(self) -> MediaStreamAttributesRequest
Consumes the builder and constructs a MediaStreamAttributesRequest.
Trait Implementations§
source§impl Clone for MediaStreamAttributesRequestBuilder
impl Clone for MediaStreamAttributesRequestBuilder
source§fn clone(&self) -> MediaStreamAttributesRequestBuilder
fn clone(&self) -> MediaStreamAttributesRequestBuilder
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 MediaStreamAttributesRequestBuilder
impl Default for MediaStreamAttributesRequestBuilder
source§fn default() -> MediaStreamAttributesRequestBuilder
fn default() -> MediaStreamAttributesRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MediaStreamAttributesRequestBuilder
impl PartialEq for MediaStreamAttributesRequestBuilder
source§fn eq(&self, other: &MediaStreamAttributesRequestBuilder) -> bool
fn eq(&self, other: &MediaStreamAttributesRequestBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MediaStreamAttributesRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MediaStreamAttributesRequestBuilder
impl Send for MediaStreamAttributesRequestBuilder
impl Sync for MediaStreamAttributesRequestBuilder
impl Unpin for MediaStreamAttributesRequestBuilder
impl UnwindSafe for MediaStreamAttributesRequestBuilder
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.