Struct kitsu::model::Anime
[−]
[src]
pub struct Anime { pub attributes: AnimeAttributes, pub id: String, pub kind: Type, pub links: HashMap<String, String>, pub relationships: AnimeRelationships, }
Information about an anime.
Fields
attributes: AnimeAttributes
Information about the anime.
id: String
The id of the anime.
kind: Type
The type of item this is. Should always be Type::Anime
.
links: HashMap<String, String>
Links related to the anime.
relationships: AnimeRelationships
List of the anime's relationships.
Methods
impl Anime
[src]
pub fn airing_status(&self) -> AiringStatus
[src]
The current airing status of the anime.
pub fn url(&self) -> String
[src]
Generates a URL to the Kitsu page for the anime.
pub fn youtube_url(&self) -> Option<String>
[src]
Generates a formatted URL to the youtube video.
Trait Implementations
impl Clone for Anime
[src]
fn clone(&self) -> Anime
[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