pub struct CodecUrl {
pub aac: Option<Url>,
pub mp3: Option<Url>,
}Expand description
URLs for different audio codecs of a livestream.
Provides access to stream URLs for different audio formats:
- AAC - Advanced Audio Coding
- MP3 - MPEG Layer-3
Fields§
§aac: Option<Url>URL for AAC stream if available
mp3: Option<Url>URL for MP3 stream if available
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodecUrl
impl<'de> Deserialize<'de> for CodecUrl
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
Source§impl Ord for CodecUrl
impl Ord for CodecUrl
Source§impl PartialOrd for CodecUrl
impl PartialOrd for CodecUrl
impl Eq for CodecUrl
impl StructuralPartialEq for CodecUrl
Auto Trait Implementations§
impl Freeze for CodecUrl
impl RefUnwindSafe for CodecUrl
impl Send for CodecUrl
impl Sync for CodecUrl
impl Unpin for CodecUrl
impl UnwindSafe for CodecUrl
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