Struct hls_m3u8::tags::ExtXProgramDateTime [−][src]
pub struct ExtXProgramDateTime { /* fields omitted */ }
Methods
impl ExtXProgramDateTime
[src]
impl ExtXProgramDateTime
pub fn new(date_time: SingleLineString) -> Self
[src]
pub fn new(date_time: SingleLineString) -> Self
Makes a new ExtXProgramDateTime
tag.
pub fn date_time(&self) -> &SingleLineString
[src]
pub fn date_time(&self) -> &SingleLineString
Returns the date-time of the first sample of the associated media segment.
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 ExtXProgramDateTime
[src]
impl Debug for ExtXProgramDateTime
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 ExtXProgramDateTime
[src]
impl Clone for ExtXProgramDateTime
fn clone(&self) -> ExtXProgramDateTime
[src]
fn clone(&self) -> ExtXProgramDateTime
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 ExtXProgramDateTime
[src]
impl PartialEq for ExtXProgramDateTime
fn eq(&self, other: &ExtXProgramDateTime) -> bool
[src]
fn eq(&self, other: &ExtXProgramDateTime) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXProgramDateTime) -> bool
[src]
fn ne(&self, other: &ExtXProgramDateTime) -> bool
This method tests for !=
.
impl Eq for ExtXProgramDateTime
[src]
impl Eq for ExtXProgramDateTime
impl Hash for ExtXProgramDateTime
[src]
impl Hash for ExtXProgramDateTime
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 ExtXProgramDateTime
[src]
impl Display for ExtXProgramDateTime
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 ExtXProgramDateTime
[src]
impl FromStr for ExtXProgramDateTime
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<ExtXProgramDateTime> for MediaSegmentTag
[src]
impl From<ExtXProgramDateTime> for MediaSegmentTag
fn from(f: ExtXProgramDateTime) -> Self
[src]
fn from(f: ExtXProgramDateTime) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ExtXProgramDateTime
impl Send for ExtXProgramDateTime
impl Sync for ExtXProgramDateTime
impl Sync for ExtXProgramDateTime