#[non_exhaustive]pub struct MediaStreamSourceConfigurationRequestBuilder { /* private fields */ }
Expand description
A builder for MediaStreamSourceConfigurationRequest
.
Implementations§
source§impl MediaStreamSourceConfigurationRequestBuilder
impl MediaStreamSourceConfigurationRequestBuilder
sourcepub fn encoding_name(self, input: EncodingName) -> Self
pub fn encoding_name(self, input: EncodingName) -> Self
The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv. This field is required.
sourcepub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
pub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
sourcepub fn get_encoding_name(&self) -> &Option<EncodingName>
pub fn get_encoding_name(&self) -> &Option<EncodingName>
The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
sourcepub fn input_configurations(self, input: InputConfigurationRequest) -> Self
pub fn input_configurations(self, input: InputConfigurationRequest) -> Self
Appends an item to input_configurations
.
To override the contents of this collection use set_input_configurations
.
The transport parameters that you want to associate with the media stream.
sourcepub fn set_input_configurations(
self,
input: Option<Vec<InputConfigurationRequest>>,
) -> Self
pub fn set_input_configurations( self, input: Option<Vec<InputConfigurationRequest>>, ) -> Self
The transport parameters that you want to associate with the media stream.
sourcepub fn get_input_configurations(
&self,
) -> &Option<Vec<InputConfigurationRequest>>
pub fn get_input_configurations( &self, ) -> &Option<Vec<InputConfigurationRequest>>
The transport parameters that you want to associate with the media stream.
sourcepub fn media_stream_name(self, input: impl Into<String>) -> Self
pub fn media_stream_name(self, input: impl Into<String>) -> Self
The name of the media stream. This field is required.
sourcepub fn set_media_stream_name(self, input: Option<String>) -> Self
pub fn set_media_stream_name(self, input: Option<String>) -> Self
The name of the media stream.
sourcepub fn get_media_stream_name(&self) -> &Option<String>
pub fn get_media_stream_name(&self) -> &Option<String>
The name of the media stream.
sourcepub fn build(self) -> MediaStreamSourceConfigurationRequest
pub fn build(self) -> MediaStreamSourceConfigurationRequest
Consumes the builder and constructs a MediaStreamSourceConfigurationRequest
.
Trait Implementations§
source§impl Clone for MediaStreamSourceConfigurationRequestBuilder
impl Clone for MediaStreamSourceConfigurationRequestBuilder
source§fn clone(&self) -> MediaStreamSourceConfigurationRequestBuilder
fn clone(&self) -> MediaStreamSourceConfigurationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MediaStreamSourceConfigurationRequestBuilder
impl Default for MediaStreamSourceConfigurationRequestBuilder
source§fn default() -> MediaStreamSourceConfigurationRequestBuilder
fn default() -> MediaStreamSourceConfigurationRequestBuilder
source§impl PartialEq for MediaStreamSourceConfigurationRequestBuilder
impl PartialEq for MediaStreamSourceConfigurationRequestBuilder
source§fn eq(&self, other: &MediaStreamSourceConfigurationRequestBuilder) -> bool
fn eq(&self, other: &MediaStreamSourceConfigurationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaStreamSourceConfigurationRequestBuilder
Auto Trait Implementations§
impl Freeze for MediaStreamSourceConfigurationRequestBuilder
impl RefUnwindSafe for MediaStreamSourceConfigurationRequestBuilder
impl Send for MediaStreamSourceConfigurationRequestBuilder
impl Sync for MediaStreamSourceConfigurationRequestBuilder
impl Unpin for MediaStreamSourceConfigurationRequestBuilder
impl UnwindSafe for MediaStreamSourceConfigurationRequestBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more