#[repr(u8)]pub enum MovieGenre {
Show 21 variants
action = 0,
adventure = 1,
animation = 2,
comedy = 3,
crime = 4,
documentary = 5,
drama = 6,
erotica = 7,
Family = 8,
fantasy = 9,
foreign = 10,
history = 11,
horror = 12,
music = 13,
mystery = 14,
romance = 15,
science_fiction = 16,
thriller = 17,
tv_movie = 18,
war = 19,
western = 20,
}Variants§
action = 0
adventure = 1
animation = 2
comedy = 3
crime = 4
documentary = 5
drama = 6
erotica = 7
Family = 8
fantasy = 9
foreign = 10
history = 11
horror = 12
music = 13
mystery = 14
romance = 15
science_fiction = 16
thriller = 17
tv_movie = 18
war = 19
western = 20
Trait Implementations§
Source§impl Clone for MovieGenre
impl Clone for MovieGenre
Source§fn clone(&self) -> MovieGenre
fn clone(&self) -> MovieGenre
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 Debug for MovieGenre
impl Debug for MovieGenre
Source§impl PartialEq for MovieGenre
impl PartialEq for MovieGenre
impl Copy for MovieGenre
impl StructuralPartialEq for MovieGenre
Auto Trait Implementations§
impl Freeze for MovieGenre
impl RefUnwindSafe for MovieGenre
impl Send for MovieGenre
impl Sync for MovieGenre
impl Unpin for MovieGenre
impl UnwindSafe for MovieGenre
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