Struct kitsu::model::AnimeAttributes [] [src]

pub struct AnimeAttributes {
    pub abbreviated_titles: Option<Vec<String>>,
    pub age_rating: Option<AgeRating>,
    pub age_rating_guide: Option<String>,
    pub average_rating: Option<String>,
    pub canonical_title: String,
    pub cover_image: Option<CoverImage>,
    pub cover_image_top_offset: i16,
    pub end_date: Option<String>,
    pub episode_count: Option<u32>,
    pub episode_length: Option<u32>,
    pub favourites_count: Option<u32>,
    pub kind: AnimeType,
    pub nsfw: bool,
    pub popularity_rank: Option<u32>,
    pub poster_image: Image,
    pub rating_frequencies: RatingFrequencies,
    pub rating_rank: Option<u32>,
    pub slug: String,
    pub start_date: Option<String>,
    pub status: Option<Status>,
    pub sub_type: Option<String>,
    pub synopsis: String,
    pub titles: AnimeTitles,
    pub user_count: Option<u32>,
    pub youtube_video_id: Option<String>,
}

Information about an Anime.

Fields

Shortened nicknames for the anime.

Examples

Attack on Titan

Age rating for the anime.

Examples

Description of the age rating.

Examples

Violence, Profanity

The average of all user ratings for the anime.

Examples

4.26984658306698

Canonical title for the anime.

Examples

Attack on Titan

The URL template for the cover.

Examples

https://static.hummingbird.me/anime/7442/cover/$1.png

The cover's offset from the top.

This has the possibility of being negative.

Examples

263

Date the anime finished airing.

Examples

2013-09-28

How many episodes the anime has.

Examples

25

How many minutes long each episode is.

Examples

24

How many favourites the anime has.

Examples

209

Show format of the anime.

Examples

AnimeType::TV, AnimeType::Special.

Whether the anime is Not Safe For Work.

The rank based on the popularity of the anime.

Examples

2

The URL template for the poster.

Examples

https://static.hummingbird.me/anime/7442/poster/$1.png

How many times each rating has been given to the anime.

The rank of the anime based on its overall rating.

Examples

5

Unique slug used for page URLs.

Examples

attack-on-titan

Date the anime started airing/was released.

Examples

2013-04-07

The status of the anime

Examples

Status::Current, Status::Finished.

The sub type of the anime.

Synopsis of the anime.

Examples

Several hundred years ago, humans were exterminated by titans...

The titles of the anime.

The number of users who have marked the anime.

Examples

3232532

YouTube video id for PV.

Examples

n4Nj6Y_SNYI

Methods

impl AnimeAttributes
[src]

[src]

The current airing status of the anime.

This is calculated by checking the end_date. If it exists, then AiringStatus::Finished is returned. Otherwise, AiringStatus::Airing is returned.

This distinction is made because [status] may not always be accurate.

[src]

Generates a URL to the Kitsu page for the anime.

[src]

Generates a formatted URL to the youtube video.

Trait Implementations

impl Clone for AnimeAttributes
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AnimeAttributes
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations