Struct m3u8_rs::playlist::MasterPlaylist
[−]
[src]
pub struct MasterPlaylist { pub version: usize, pub variants: Vec<VariantStream>, pub session_data: Option<SessionData>, pub session_key: Option<SessionKey>, pub start: Option<Start>, pub independent_segments: bool, }
A Master Playlist provides a set of Variant Streams, each of which describes a different version of the same content.
Fields
version: usize
variants: Vec<VariantStream>
session_data: Option<SessionData>
session_key: Option<SessionKey>
start: Option<Start>
independent_segments: bool
Methods
impl MasterPlaylist
[src]
Trait Implementations
impl Debug for MasterPlaylist
[src]
impl Default for MasterPlaylist
[src]
fn default() -> MasterPlaylist
Returns the "default value" for a type. Read more
impl PartialEq for MasterPlaylist
[src]
fn eq(&self, __arg_0: &MasterPlaylist) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MasterPlaylist) -> bool
This method tests for !=
.