pub struct StreamInfo {Show 26 fields
pub Server: Option<String>,
pub Public: Option<bool>,
pub IceAudioInfo: Option<String>,
pub AudioInfo: Option<String>,
pub Name: Option<String>,
pub Description: Option<String>,
pub Type: String,
pub Homepage: Option<String>,
pub Genre: Option<String>,
pub Bitrate: Option<u32>,
pub Sampling: Option<u32>,
pub CodecAudio: String,
pub CodecVideo: Option<String>,
pub Hls: bool,
pub LogoUrl: Option<String>,
pub MainStreamUrl: Option<String>,
pub IcyVersion: u32,
pub OverrideIndexMetaData: Option<bool>,
pub CountryCode: Option<String>,
pub CountrySubdivisonCode: Option<String>,
pub LanguageCodes: Vec<String>,
pub GeoLatLong: Option<Result<LatLong, DecodeError>>,
pub DoNotIndex: Option<bool>,
pub SslError: bool,
pub HasHttp: bool,
pub HasHttps: bool,
}
Expand description
Information extracted from a stream
Fields§
§Server: Option<String>
§Public: Option<bool>
§IceAudioInfo: Option<String>
§AudioInfo: Option<String>
§Name: Option<String>
§Description: Option<String>
§Type: String
§Homepage: Option<String>
§Genre: Option<String>
§Bitrate: Option<u32>
§Sampling: Option<u32>
§CodecAudio: String
§CodecVideo: Option<String>
§Hls: bool
§LogoUrl: Option<String>
§MainStreamUrl: Option<String>
§IcyVersion: u32
§OverrideIndexMetaData: Option<bool>
§CountryCode: Option<String>
§CountrySubdivisonCode: Option<String>
§LanguageCodes: Vec<String>
§GeoLatLong: Option<Result<LatLong, DecodeError>>
§DoNotIndex: Option<bool>
§SslError: bool
§HasHttp: bool
§HasHttps: bool
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
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 StreamInfo
impl Debug for StreamInfo
Source§impl<'de> Deserialize<'de> for StreamInfo
impl<'de> Deserialize<'de> for StreamInfo
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 StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnwindSafe for StreamInfo
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