pub struct VariantStream {
pub stream_info: StreamInf,
pub frame_rate: Option<f64>,
pub audio_group_id: Option<String>,
pub video_group_id: Option<String>,
pub subtitles_group_id: Option<String>,
pub closed_captions_group_id: Option<String>,
pub uri: String,
}Expand description
A set of Renditions that can be combined to play the presentation.
Fields§
§stream_info: StreamInfMetadata for the stream.
frame_rate: Option<f64>Describes the maximum frame rate for all the video in the
VariantStream.
audio_group_id: Option<String>The group id of the audio RenditionGroup that should be used when
playing the presentation.
video_group_id: Option<String>The group id of the video RenditionGroup that should be used when
playing the presentation.
subtitles_group_id: Option<String>The group id of the subtitle RenditionGroup that should be used when
playing the presentation.
closed_captions_group_id: Option<String>The group id of the closed caption RenditionGroup that should be used when
playing the presentation.
uri: StringThe MediaPlaylist that carries a Rendition of the Variant Stream.
Trait Implementations§
Source§impl Clone for VariantStream
impl Clone for VariantStream
Source§fn clone(&self) -> VariantStream
fn clone(&self) -> VariantStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VariantStream
impl Debug for VariantStream
Source§impl PartialEq for VariantStream
impl PartialEq for VariantStream
Source§fn eq(&self, other: &VariantStream) -> bool
fn eq(&self, other: &VariantStream) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VariantStream
Auto Trait Implementations§
impl Freeze for VariantStream
impl RefUnwindSafe for VariantStream
impl Send for VariantStream
impl Sync for VariantStream
impl Unpin for VariantStream
impl UnsafeUnpin for VariantStream
impl UnwindSafe for VariantStream
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