MalAnimeData

Struct MalAnimeData 

Source
pub struct MalAnimeData {
Show 32 fields pub id: u32, pub title: String, pub main_picture: Picture, pub alternative_titles: Option<AlternativeTitles>, pub start_date: Option<String>, pub end_date: Option<String>, pub synopsis: Option<String>, pub mean: Option<f32>, pub rank: Option<u32>, pub popularity: Option<u32>, pub num_list_users: Option<u32>, pub num_scoring_users: Option<u32>, pub nsfw: Option<Nsfw>, pub genres: Option<Vec<Genres>>, pub created_at: Option<String>, pub updated_at: Option<String>, pub media_type: Option<MediaType>, pub status: Option<AiringStatus>, pub list_status: Option<ListStatus>, pub num_episodes: Option<u32>, pub start_season: Option<StartSeason>, pub broadcast: Option<Broadcast>, pub source: Option<Source>, pub average_episode_duration: Option<u32>, pub rating: Option<Rating>, pub studios: Option<Vec<Studios>>, pub pictures: Option<Vec<Picture>>, pub background: Option<String>, pub related_anime: Option<Vec<Related>>, pub related_manga: Option<Vec<Related>>, pub recommendations: Option<Vec<Recommended>>, pub statistics: Option<Statistics>,
}

Fields§

§id: u32§title: String§main_picture: Picture§alternative_titles: Option<AlternativeTitles>§start_date: Option<String>§end_date: Option<String>§synopsis: Option<String>§mean: Option<f32>§rank: Option<u32>§popularity: Option<u32>§num_list_users: Option<u32>§num_scoring_users: Option<u32>§nsfw: Option<Nsfw>§genres: Option<Vec<Genres>>§created_at: Option<String>§updated_at: Option<String>§media_type: Option<MediaType>§status: Option<AiringStatus>§list_status: Option<ListStatus>§num_episodes: Option<u32>§start_season: Option<StartSeason>§broadcast: Option<Broadcast>§source: Option<Source>§average_episode_duration: Option<u32>§rating: Option<Rating>§studios: Option<Vec<Studios>>§pictures: Option<Vec<Picture>>§background: Option<String>§related_anime: Option<Vec<Related>>§related_manga: Option<Vec<Related>>§recommendations: Option<Vec<Recommended>>§statistics: Option<Statistics>

Trait Implementations§

Source§

impl Debug for MalAnimeData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MalAnimeData

Source§

fn default() -> MalAnimeData

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MalAnimeData

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for MalAnimeData

Source§

fn eq(&self, other: &MalAnimeData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for MalAnimeData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,