pub struct AudioStream {
pub bitrate: String,
pub encoding: String,
pub audio_url: String,
pub protocol: String,
}Expand description
Playback/decoding attributes of an available audio stream.
Fields§
§bitrate: StringThe audio bitrate/quality for this stream.
encoding: StringThe audio encoding format for this stream.
audio_url: StringThe url to stream audio from.
protocol: StringThe protocol to use with the audio URL.
Trait Implementations§
Source§impl Clone for AudioStream
impl Clone for AudioStream
Source§fn clone(&self) -> AudioStream
fn clone(&self) -> AudioStream
Returns a duplicate 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 AudioStream
impl Debug for AudioStream
Source§impl<'de> Deserialize<'de> for AudioStream
impl<'de> Deserialize<'de> for AudioStream
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 AudioStream
impl RefUnwindSafe for AudioStream
impl Send for AudioStream
impl Sync for AudioStream
impl Unpin for AudioStream
impl UnwindSafe for AudioStream
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