Struct icecast_stats::IcecastStatsSource [−][src]
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]
fn clone(&self) -> IcecastStatsSource
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IcecastStatsSource
[src]
impl<'de> Deserialize<'de> for IcecastStatsSource
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for IcecastStatsSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for IcecastStatsSource
impl Send for IcecastStatsSource
impl Sync for IcecastStatsSource
impl Unpin for IcecastStatsSource
impl UnwindSafe for IcecastStatsSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,