Struct hls_m3u8::tags::ExtXSessionData [−][src]
pub struct ExtXSessionData { /* fields omitted */ }
Methods
impl ExtXSessionData
[src]
impl ExtXSessionData
pub fn new(data_id: QuotedString, data: SessionData) -> Self
[src]
pub fn new(data_id: QuotedString, data: SessionData) -> Self
Makes a new ExtXSessionData
tag.
pub fn with_language(
data_id: QuotedString,
data: SessionData,
language: QuotedString
) -> Self
[src]
pub fn with_language(
data_id: QuotedString,
data: SessionData,
language: QuotedString
) -> Self
Makes a new ExtXSessionData
with the given language.
pub fn data_id(&self) -> &QuotedString
[src]
pub fn data_id(&self) -> &QuotedString
Returns the identifier of the data.
pub fn data(&self) -> &SessionData
[src]
pub fn data(&self) -> &SessionData
Returns the session data.
pub fn language(&self) -> Option<&QuotedString>
[src]
pub fn language(&self) -> Option<&QuotedString>
Returns the language of the data.
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 ExtXSessionData
[src]
impl Debug for ExtXSessionData
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 ExtXSessionData
[src]
impl Clone for ExtXSessionData
fn clone(&self) -> ExtXSessionData
[src]
fn clone(&self) -> ExtXSessionData
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)
Performs copy-assignment from source
. Read more
impl PartialEq for ExtXSessionData
[src]
impl PartialEq for ExtXSessionData
fn eq(&self, other: &ExtXSessionData) -> bool
[src]
fn eq(&self, other: &ExtXSessionData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExtXSessionData) -> bool
[src]
fn ne(&self, other: &ExtXSessionData) -> bool
This method tests for !=
.
impl Eq for ExtXSessionData
[src]
impl Eq for ExtXSessionData
impl Hash for ExtXSessionData
[src]
impl Hash for ExtXSessionData
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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for ExtXSessionData
[src]
impl Display for ExtXSessionData
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 ExtXSessionData
[src]
impl FromStr for ExtXSessionData
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<ExtXSessionData> for MasterPlaylistTag
[src]
impl From<ExtXSessionData> for MasterPlaylistTag
fn from(f: ExtXSessionData) -> Self
[src]
fn from(f: ExtXSessionData) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ExtXSessionData
impl Send for ExtXSessionData
impl Sync for ExtXSessionData
impl Sync for ExtXSessionData