Struct database::episode::EpisodeWrapper
source · Expand description
This struct is purely used for querying episodes which later gets converted into a Episode struct
Fields§
§id: i64
§seasonid: i64
§episode_: i64
Implementations§
source§impl EpisodeWrapper
impl EpisodeWrapper
pub fn into_episode(self, media: Media) -> Episode
Trait Implementations§
source§impl Clone for EpisodeWrapper
impl Clone for EpisodeWrapper
source§fn clone(&self) -> EpisodeWrapper
fn clone(&self) -> EpisodeWrapper
Returns a copy 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 EpisodeWrapper
impl Debug for EpisodeWrapper
source§impl<'a, R: Row> FromRow<'a, R> for EpisodeWrapperwhere
&'a str: ColumnIndex<R>,
i64: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for EpisodeWrapperwhere
&'a str: ColumnIndex<R>,
i64: Decode<'a, R::Database> + Type<R::Database>,
source§impl PartialEq<EpisodeWrapper> for EpisodeWrapper
impl PartialEq<EpisodeWrapper> for EpisodeWrapper
source§fn eq(&self, other: &EpisodeWrapper) -> bool
fn eq(&self, other: &EpisodeWrapper) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.