pub struct MetaInfoFile {
pub index_metadata: bool,
pub version: u8,
pub main_stream_url: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub genre: Option<String>,
pub languages: Option<String>,
pub countrycode: Option<String>,
pub country_subdivision_code: Option<String>,
pub logo: Option<String>,
/* private fields */
}
Expand description
Does contain decoded information from a stream information file
Fields§
§index_metadata: bool
§version: u8
§main_stream_url: Option<String>
§name: Option<String>
§description: Option<String>
§genre: Option<String>
§languages: Option<String>
§countrycode: Option<String>
§country_subdivision_code: Option<String>
§logo: Option<String>
Implementations§
Source§impl MetaInfoFile
impl MetaInfoFile
Sourcepub fn get_lat_long(&self) -> Option<Result<LatLong, DecodeError>>
pub fn get_lat_long(&self) -> Option<Result<LatLong, DecodeError>>
Decodes lat/long information contained in a stream information file
Trait Implementations§
Source§impl Clone for MetaInfoFile
impl Clone for MetaInfoFile
Source§fn clone(&self) -> MetaInfoFile
fn clone(&self) -> MetaInfoFile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetaInfoFile
impl Debug for MetaInfoFile
Source§impl<'de> Deserialize<'de> for MetaInfoFile
impl<'de> Deserialize<'de> for MetaInfoFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetaInfoFile
impl RefUnwindSafe for MetaInfoFile
impl Send for MetaInfoFile
impl Sync for MetaInfoFile
impl Unpin for MetaInfoFile
impl UnwindSafe for MetaInfoFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more