Struct m3u8_rs::playlist::SessionData
[−]
[src]
pub struct SessionData { pub data_id: String, pub value: String, pub uri: String, pub language: Option<String>, }
#EXT-X-SESSION-DATA:<attribute-list>
The EXT-X-SESSION-KEY tag allows encryption keys from Media Playlists
to be specified in a Master Playlist. This allows the client to
preload these keys without having to read the Media Playlist(s) first.
Fields
data_id: String
value: String
uri: String
language: Option<String>
Methods
impl SessionData
[src]
fn from_hashmap(attrs: HashMap<String, String>) -> SessionData
fn write_to<T: Write>(&self, w: &mut T) -> Result<()>
Trait Implementations
impl Debug for SessionData
[src]
impl Default for SessionData
[src]
fn default() -> SessionData
Returns the "default value" for a type. Read more
impl PartialEq for SessionData
[src]
fn eq(&self, __arg_0: &SessionData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SessionData) -> bool
This method tests for !=
.