pub struct NormalEpisodeMetadata<P: AsRef<Path>> {
pub title: String,
pub episode: usize,
pub path: Option<P>,
pub type_tag: String,
}Expand description
Contains information of the normal episode.
Fields§
§title: String§episode: usize§path: Option<P>§type_tag: StringImplementations§
Trait Implementations§
Source§impl<P: Clone + AsRef<Path>> Clone for NormalEpisodeMetadata<P>
impl<P: Clone + AsRef<Path>> Clone for NormalEpisodeMetadata<P>
Source§fn clone(&self) -> NormalEpisodeMetadata<P>
fn clone(&self) -> NormalEpisodeMetadata<P>
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<P: AsRef<Path>> Combinable for NormalEpisodeMetadata<P>
impl<P: AsRef<Path>> Combinable for NormalEpisodeMetadata<P>
Source§fn combine(
&self,
subtitle_path: impl AsRef<Path>,
subtitle_language: &str,
subtitle_type: SubtitleType,
) -> Result<ExitStatus>
fn combine( &self, subtitle_path: impl AsRef<Path>, subtitle_language: &str, subtitle_type: SubtitleType, ) -> Result<ExitStatus>
Combine the audio, video, and subtitle using
ffmpeg.Source§impl<'de, P> Deserialize<'de> for NormalEpisodeMetadata<P>
impl<'de, P> Deserialize<'de> for NormalEpisodeMetadata<P>
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<P: Ord + AsRef<Path>> Ord for NormalEpisodeMetadata<P>
impl<P: Ord + AsRef<Path>> Ord for NormalEpisodeMetadata<P>
Source§fn cmp(&self, other: &NormalEpisodeMetadata<P>) -> Ordering
fn cmp(&self, other: &NormalEpisodeMetadata<P>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<P: PartialOrd + AsRef<Path>> PartialOrd for NormalEpisodeMetadata<P>
impl<P: PartialOrd + AsRef<Path>> PartialOrd for NormalEpisodeMetadata<P>
Source§impl<P> Serialize for NormalEpisodeMetadata<P>
impl<P> Serialize for NormalEpisodeMetadata<P>
impl<P: Eq + AsRef<Path>> Eq for NormalEpisodeMetadata<P>
impl<P: AsRef<Path>> StructuralPartialEq for NormalEpisodeMetadata<P>
Auto Trait Implementations§
impl<P> Freeze for NormalEpisodeMetadata<P>where
P: Freeze,
impl<P> RefUnwindSafe for NormalEpisodeMetadata<P>where
P: RefUnwindSafe,
impl<P> Send for NormalEpisodeMetadata<P>where
P: Send,
impl<P> Sync for NormalEpisodeMetadata<P>where
P: Sync,
impl<P> Unpin for NormalEpisodeMetadata<P>where
P: Unpin,
impl<P> UnwindSafe for NormalEpisodeMetadata<P>where
P: UnwindSafe,
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