pub enum MetaStream {
Video {
pid: u16,
codec: String,
resolution: String,
frame_rate: String,
hdr: String,
label: String,
secondary: bool,
codec_private: Option<String>,
},
Audio {
pid: u16,
codec: String,
channels: String,
language: String,
sample_rate: String,
label: String,
secondary: bool,
},
Subtitle {
pid: u16,
codec: String,
language: String,
forced: bool,
},
}Expand description
A single stream descriptor in the metadata.
Variants§
Trait Implementations§
Source§impl Clone for MetaStream
impl Clone for MetaStream
Source§fn clone(&self) -> MetaStream
fn clone(&self) -> MetaStream
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 MetaStream
impl Debug for MetaStream
Source§impl<'de> Deserialize<'de> for MetaStream
impl<'de> Deserialize<'de> for MetaStream
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 MetaStream
impl RefUnwindSafe for MetaStream
impl Send for MetaStream
impl Sync for MetaStream
impl Unpin for MetaStream
impl UnsafeUnpin for MetaStream
impl UnwindSafe for MetaStream
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