Struct database::genre::GenreMedia
source · Expand description
Intermediary table showing the relationship between a media and a genre
Fields§
§id: i64
§genre_id: i64
§media_id: i64
Trait Implementations§
source§impl Clone for GenreMedia
impl Clone for GenreMedia
source§fn clone(&self) -> GenreMedia
fn clone(&self) -> GenreMedia
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 GenreMedia
impl Debug for GenreMedia
source§impl PartialEq<GenreMedia> for GenreMedia
impl PartialEq<GenreMedia> for GenreMedia
source§fn eq(&self, other: &GenreMedia) -> bool
fn eq(&self, other: &GenreMedia) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.