Struct icecast_stats::IcecastStatsSource[][src]

pub struct IcecastStatsSource { /* fields omitted */ }

A streaming source

Implementations

impl IcecastStatsSource[src]

pub fn artist(&self) -> &Option<String>[src]

Artist of the current song Metadata set by source client

pub fn title(&self) -> &Option<String>[src]

Title of the current song Metadata set by source client

pub fn audio_bitrate(&self) -> &Option<u32>[src]

Audio bitrate in bits/s Can be set by source client Example: 128000

pub fn audio_channels(&self) -> &Option<u8>[src]

Audio bitrate in bits/s Can be set by source client Example: 1

pub fn audio_samplerate(&self) -> &Option<u32>[src]

Information about the samplerate of the stream. Can be set by source client Example: 48000

pub fn frame_rate(&self) -> &Option<f32>[src]

Example: 25.00

pub fn frame_size(&self) -> &Option<String>[src]

Example: 720 x 576

pub fn bitrate(&self) -> &Option<u32>[src]

Example: 128

pub fn genre(&self) -> &Option<String>[src]

Example: jazz, classical

pub fn ice_bitrate(&self) -> &Option<u32>[src]

Example: 128

pub fn listener_peak(&self) -> &Option<u32>[src]

Example: 234

pub fn listeners(&self) -> &Option<u32>[src]

Currently Active Listeners.

Example: 23

pub fn listenurl(&self) -> &Option<String>[src]

Example: http://localhost:8000/test2

pub fn server_description(&self) -> &Option<String>[src]

Example: Unspecified description

pub fn server_name(&self) -> &Option<String>[src]

Example: Unspecified name

pub fn server_type(&self) -> &Option<String>[src]

MIME-type for the stream currently active on this mountpoint.

Example: application/ogg

pub fn subtype(&self) -> &Option<String>[src]

MIME-subtype, can be e.g. codecs like Opus, Vorbis, Theora. Separated with /.

Example: application/ogg

pub fn stream_start_iso8601(&self) -> &Option<String>[src]

Example: 2021-04-09T21:49:52+0200

pub fn user_agent(&self) -> &Option<String>[src]

HTTP user agent string as sent by the source client.

pub fn video_bitrate(&self) -> &Option<u32>[src]

Example: 200000

pub fn video_quality(&self) -> &Option<u32>[src]

Example: 0

Trait Implementations

impl Clone for IcecastStatsSource[src]

impl Debug for IcecastStatsSource[src]

impl<'de> Deserialize<'de> for IcecastStatsSource[src]

impl Serialize for IcecastStatsSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,