pub struct AudioStream {
pub bitrate: String,
pub encoding: String,
pub audio_url: String,
pub protocol: String,
}
Expand description
A description of an audio stream. Where to get it, and how to decode it.
Fields§
§bitrate: String
The bitrate for this audio stream.
encoding: String
The encoding used for this audio stream.
audio_url: String
The url from which the audio may be streamed.
protocol: String
The url scheme/protocol for the stream transport.
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