pub struct TrackInfo {
pub track_id: String,
pub track_type: String,
pub codec: String,
pub language: Option<String>,
pub channels: Option<String>,
pub format_details: Option<String>,
pub resolution: Option<String>,
pub framerate: Option<String>,
pub bit_depth: Option<String>,
pub subtitle_type: Option<String>,
}Expand description
Track information with codec details (legacy — use EssenceDescriptor parsing instead)
Fields§
§track_id: String§track_type: String§codec: String§language: Option<String>§channels: Option<String>§format_details: Option<String>§resolution: Option<String>§framerate: Option<String>§bit_depth: Option<String>§subtitle_type: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrackInfo
impl<'de> Deserialize<'de> for TrackInfo
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 TrackInfo
impl RefUnwindSafe for TrackInfo
impl Send for TrackInfo
impl Sync for TrackInfo
impl Unpin for TrackInfo
impl UnsafeUnpin for TrackInfo
impl UnwindSafe for TrackInfo
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