pub struct GenreLink {
pub genre_id: Id,
pub entity_kind: EntityKind,
pub entity_id: Id,
}Expand description
Attachment of a genre to an entity.
Fields§
§genre_id: IdThe genre being attached.
entity_kind: EntityKindWhich table entity_id indexes.
entity_id: IdThe entity the genre is attached to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenreLink
impl RefUnwindSafe for GenreLink
impl Send for GenreLink
impl Sync for GenreLink
impl Unpin for GenreLink
impl UnwindSafe for GenreLink
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