Struct hls_m3u8::tags::ExtXDateRange [−][src]
pub struct ExtXDateRange { pub id: QuotedString, pub class: Option<QuotedString>, pub start_date: QuotedString, pub end_date: Option<QuotedString>, pub duration: Option<Duration>, pub planned_duration: Option<Duration>, pub scte35_cmd: Option<QuotedString>, pub scte35_out: Option<QuotedString>, pub scte35_in: Option<QuotedString>, pub end_on_next: bool, pub client_attributes: BTreeMap<String, String>, }
TODO: Implement properly
Fields
id: QuotedString
class: Option<QuotedString>
start_date: QuotedString
end_date: Option<QuotedString>
duration: Option<Duration>
planned_duration: Option<Duration>
scte35_cmd: Option<QuotedString>
scte35_out: Option<QuotedString>
scte35_in: Option<QuotedString>
end_on_next: bool
client_attributes: BTreeMap<String, String>
Methods
impl ExtXDateRange
[src]
impl ExtXDateRange
pub fn requires_version(&self) -> ProtocolVersion
[src]
pub fn requires_version(&self) -> ProtocolVersion
Returns the protocol compatibility version that this tag requires.
Trait Implementations
impl Debug for ExtXDateRange
[src]
impl Debug for ExtXDateRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ExtXDateRange
[src]
impl Clone for ExtXDateRange
fn clone(&self) -> ExtXDateRange
[src]
fn clone(&self) -> ExtXDateRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ExtXDateRange
[src]
impl PartialEq for ExtXDateRange
fn eq(&self, other: &ExtXDateRange) -> bool
[src]
fn eq(&self, other: &ExtXDateRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXDateRange) -> bool
[src]
fn ne(&self, other: &ExtXDateRange) -> bool
This method tests for !=
.
impl Eq for ExtXDateRange
[src]
impl Eq for ExtXDateRange
impl Hash for ExtXDateRange
[src]
impl Hash for ExtXDateRange
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for ExtXDateRange
[src]
impl Display for ExtXDateRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for ExtXDateRange
[src]
impl FromStr for ExtXDateRange
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
fn from_str(s: &str) -> Result<Self>
Parses a string s
to return a value of this type. Read more
impl From<ExtXDateRange> for MediaSegmentTag
[src]
impl From<ExtXDateRange> for MediaSegmentTag
fn from(f: ExtXDateRange) -> Self
[src]
fn from(f: ExtXDateRange) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ExtXDateRange
impl Send for ExtXDateRange
impl Sync for ExtXDateRange
impl Sync for ExtXDateRange