#[non_exhaustive]pub struct MediaStreamOutputConfigurationRequest {
pub destination_configurations: Option<Vec<DestinationConfigurationRequest>>,
pub encoding_name: Option<EncodingName>,
pub encoding_parameters: Option<EncodingParametersRequest>,
pub media_stream_name: Option<String>,
}
Expand description
The media stream that you want to associate with the output, and the parameters for that association.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination_configurations: Option<Vec<DestinationConfigurationRequest>>
The transport parameters that you want to associate with the media stream.
encoding_name: Option<EncodingName>
The format that will be used 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.
encoding_parameters: Option<EncodingParametersRequest>
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
media_stream_name: Option<String>
The name of the media stream that is associated with the output.
Implementations§
source§impl MediaStreamOutputConfigurationRequest
impl MediaStreamOutputConfigurationRequest
sourcepub fn destination_configurations(&self) -> &[DestinationConfigurationRequest]
pub fn destination_configurations(&self) -> &[DestinationConfigurationRequest]
The transport parameters that you want to associate with the media stream.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .destination_configurations.is_none()
.
sourcepub fn encoding_name(&self) -> Option<&EncodingName>
pub fn encoding_name(&self) -> Option<&EncodingName>
The format that will be used 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 encoding_parameters(&self) -> Option<&EncodingParametersRequest>
pub fn encoding_parameters(&self) -> Option<&EncodingParametersRequest>
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
sourcepub fn media_stream_name(&self) -> Option<&str>
pub fn media_stream_name(&self) -> Option<&str>
The name of the media stream that is associated with the output.
source§impl MediaStreamOutputConfigurationRequest
impl MediaStreamOutputConfigurationRequest
sourcepub fn builder() -> MediaStreamOutputConfigurationRequestBuilder
pub fn builder() -> MediaStreamOutputConfigurationRequestBuilder
Creates a new builder-style object to manufacture MediaStreamOutputConfigurationRequest
.
Trait Implementations§
source§impl Clone for MediaStreamOutputConfigurationRequest
impl Clone for MediaStreamOutputConfigurationRequest
source§fn clone(&self) -> MediaStreamOutputConfigurationRequest
fn clone(&self) -> MediaStreamOutputConfigurationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for MediaStreamOutputConfigurationRequest
impl PartialEq for MediaStreamOutputConfigurationRequest
source§fn eq(&self, other: &MediaStreamOutputConfigurationRequest) -> bool
fn eq(&self, other: &MediaStreamOutputConfigurationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaStreamOutputConfigurationRequest
Auto Trait Implementations§
impl Freeze for MediaStreamOutputConfigurationRequest
impl RefUnwindSafe for MediaStreamOutputConfigurationRequest
impl Send for MediaStreamOutputConfigurationRequest
impl Sync for MediaStreamOutputConfigurationRequest
impl Unpin for MediaStreamOutputConfigurationRequest
impl UnwindSafe for MediaStreamOutputConfigurationRequest
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