Struct m3u8_rs::playlist::ByteRange [] [src]

pub struct ByteRange {
    pub length: i32,
    pub offset: Option<i32>,
}

#EXT-X-BYTERANGE:<n>[@<o>]

The EXT-X-BYTERANGE tag indicates that a Media Segment is a sub-range of the resource identified by its URI. It applies only to the next URI line that follows it in the Playlist.

Fields

Trait Implementations

impl Debug for ByteRange
[src]

Formats the value using the given formatter.

impl Default for ByteRange
[src]

Returns the "default value" for a type. Read more

impl Clone for ByteRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more