Struct kitsu::model::MangaAttributes
[−]
[src]
pub struct MangaAttributes { pub abbreviated_titles: Option<Vec<String>>, pub average_rating: Option<String>, pub canonical_title: String, pub chapter_count: Option<u64>, pub cover_image: Option<CoverImage>, pub cover_image_top_offset: i16, pub end_date: Option<String>, pub kind: MangaType, pub popularity_rank: Option<u32>, pub poster_image: Image, pub rating_frequencies: RatingFrequencies, pub rating_rank: Option<u32>, pub serialization: Option<String>, pub slug: String, pub start_date: Option<String>, pub status: Option<Status>, pub synopsis: String, pub titles: MangaTitles, pub volume_count: Option<u64>, pub youtube_video_id: Option<String>, }
Information about a Manga
.
Fields
abbreviated_titles: Option<Vec<String>>
Shortened nicknames for the manga.
average_rating: Option<String>
canonical_title: String
chapter_count: Option<u64>
The number of chapters released.
cover_image: Option<CoverImage>
cover_image_top_offset: i16
end_date: Option<String>
kind: MangaType
popularity_rank: Option<u32>
poster_image: Image
rating_frequencies: RatingFrequencies
How many times each rating has been given to the manga.
rating_rank: Option<u32>
serialization: Option<String>
Name of media of serialization.
slug: String
start_date: Option<String>
status: Option<Status>
synopsis: String
titles: MangaTitles
The titles of the manga.
volume_count: Option<u64>
The number of volumes released for the manga.
youtube_video_id: Option<String>
The id of the related YouTube video.
Methods
impl MangaAttributes
[src]
pub fn airing_status(&self) -> AiringStatus
[src]
The current airing status of the manga.
Refer to AnimeAttributes::airing_status
for more information.
pub fn url(&self) -> String
[src]
Generates a URL to the Kitsu page for the manga.
pub fn youtube_url(&self) -> Option<String>
[src]
Generates a formatted URL to the youtube video.
Trait Implementations
impl Clone for MangaAttributes
[src]
fn clone(&self) -> MangaAttributes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more