Struct aws_sdk_mediaconnect::types::TransportStream
source · #[non_exhaustive]pub struct TransportStream {
pub channels: Option<i32>,
pub codec: Option<String>,
pub frame_rate: Option<String>,
pub frame_resolution: Option<FrameResolution>,
pub pid: Option<i32>,
pub sample_rate: Option<i32>,
pub sample_size: Option<i32>,
pub stream_type: Option<String>,
}
Expand description
The metadata of an elementary transport stream.
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.channels: Option<i32>
The number of channels in the audio stream.
codec: Option<String>
The codec used by the stream.
frame_rate: Option<String>
The frame rate used by the video stream.
frame_resolution: Option<FrameResolution>
The frame resolution used by the video stream.
pid: Option<i32>
The Packet ID (PID) as it is reported in the Program Map Table.
sample_rate: Option<i32>
The sample rate used by the audio stream.
sample_size: Option<i32>
The sample bit size used by the audio stream.
stream_type: Option<String>
The Stream Type as it is reported in the Program Map Table.
Implementations§
source§impl TransportStream
impl TransportStream
sourcepub fn frame_rate(&self) -> Option<&str>
pub fn frame_rate(&self) -> Option<&str>
The frame rate used by the video stream.
sourcepub fn frame_resolution(&self) -> Option<&FrameResolution>
pub fn frame_resolution(&self) -> Option<&FrameResolution>
The frame resolution used by the video stream.
sourcepub fn pid(&self) -> Option<i32>
pub fn pid(&self) -> Option<i32>
The Packet ID (PID) as it is reported in the Program Map Table.
sourcepub fn sample_rate(&self) -> Option<i32>
pub fn sample_rate(&self) -> Option<i32>
The sample rate used by the audio stream.
sourcepub fn sample_size(&self) -> Option<i32>
pub fn sample_size(&self) -> Option<i32>
The sample bit size used by the audio stream.
sourcepub fn stream_type(&self) -> Option<&str>
pub fn stream_type(&self) -> Option<&str>
The Stream Type as it is reported in the Program Map Table.
source§impl TransportStream
impl TransportStream
sourcepub fn builder() -> TransportStreamBuilder
pub fn builder() -> TransportStreamBuilder
Creates a new builder-style object to manufacture TransportStream
.
Trait Implementations§
source§impl Clone for TransportStream
impl Clone for TransportStream
source§fn clone(&self) -> TransportStream
fn clone(&self) -> TransportStream
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransportStream
impl Debug for TransportStream
source§impl PartialEq for TransportStream
impl PartialEq for TransportStream
source§fn eq(&self, other: &TransportStream) -> bool
fn eq(&self, other: &TransportStream) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransportStream
Auto Trait Implementations§
impl Freeze for TransportStream
impl RefUnwindSafe for TransportStream
impl Send for TransportStream
impl Sync for TransportStream
impl Unpin for TransportStream
impl UnwindSafe for TransportStream
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