pub enum Format {
Tv,
TvShort,
Movie,
Special,
Ova,
Ona,
Music,
Manga,
Novel,
OneShot,
}
Expand description
Represents the format of a media item.
The Format
enum defines various formats that a media item can have,
such as TV shows, movies, specials, OVAs, ONAs, music, manga, novels,
and one-shots.
§Variants
Tv
- Represents a TV show.TvShort
- Represents a short TV show.Movie
- Represents a movie.Special
- Represents a special.Ova
- Represents an original video animation.Ona
- Represents an original net animation.Music
- Represents a music video.Manga
- Represents a manga.Novel
- Represents a novel.OneShot
- Represents a one-shot.
Variants§
Tv
Represents a TV show.
TvShort
Represents a short TV show.
Movie
Represents a movie.
Special
Represents a special.
Ova
Represents an original video animation.
Ona
Represents an original net animation.
Music
Represents a music video.
Manga
Represents a manga.
Novel
Represents a novel.
OneShot
Represents a one-shot.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Format
impl<'de> Deserialize<'de> for Format
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
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.