Struct m3u8_rs::playlist::DateRange [−][src]
pub struct DateRange {
pub id: String,
pub class: Option<String>,
pub start_date: String,
pub end_date: Option<String>,
pub duration: Option<String>,
pub planned_duration: Option<String>,
pub x_prefixed: Option<String>,
pub end_on_next: bool,
}
Expand description
[#EXT-X-DATERANGE:<attribute-list>
]
(https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.7)
The EXT-X-DATERANGE tag associates a Date Range (i.e. a range of time defined by a starting and ending date) with a set of attribute / value pairs.
Fields
id: String
class: Option<String>
start_date: String
end_date: Option<String>
duration: Option<String>
planned_duration: Option<String>
x_prefixed: Option<String>
end_on_next: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DateRange
impl UnwindSafe for DateRange
Blanket Implementations
Mutably borrows from an owned value. Read more