Struct m3u8_rs::playlist::Map
[−]
[src]
pub struct Map { pub uri: String, pub byte_range: Option<ByteRange>, }
The EXT-X-MAP tag specifies how to obtain the Media Initialization Section (Section 3) required to parse the applicable Media Segments. It applies to every Media Segment that appears after it in the Playlist until the next EXT-X-MAP tag or until the end of the playlist.
Fields
uri: String
byte_range: Option<ByteRange>
Methods
impl Map
[src]
fn from_hashmap(attrs: HashMap<String, String>) -> Map
fn write_attributes_to<T: Write>(&self, w: &mut T) -> Result<()>
Trait Implementations
impl Debug for Map
[src]
impl Default for Map
[src]
impl Clone for Map
[src]
fn clone(&self) -> Map
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more