pub struct OutputFile {
pub media_type: Option<MediaType>,
pub index: i32,
pub file_path: PathBuf,
pub lang_code: Option<String>,
pub description: Option<String>,
pub media_infos: Vec<MediaInfo>,
}Expand description
Output file model used by merge, decrypt, subtitle, and mux work.
Fields§
§media_type: Option<MediaType>Media type associated with the file when known.
index: i32Compatibility ordering index.
file_path: PathBufFile path.
lang_code: Option<String>Language code.
description: Option<String>Track description.
media_infos: Vec<MediaInfo>Optional media-info records.
Implementations§
Trait Implementations§
Source§impl Clone for OutputFile
impl Clone for OutputFile
Source§fn clone(&self) -> OutputFile
fn clone(&self) -> OutputFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutputFile
impl Debug for OutputFile
Source§impl<'de> Deserialize<'de> for OutputFile
impl<'de> Deserialize<'de> for OutputFile
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
impl Eq for OutputFile
Source§impl PartialEq for OutputFile
impl PartialEq for OutputFile
Source§fn eq(&self, other: &OutputFile) -> bool
fn eq(&self, other: &OutputFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutputFile
impl Serialize for OutputFile
impl StructuralPartialEq for OutputFile
Auto Trait Implementations§
impl Freeze for OutputFile
impl RefUnwindSafe for OutputFile
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnsafeUnpin for OutputFile
impl UnwindSafe for OutputFile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.