jikan-rs 1.0.0

A basic wrapper for jikan.moe API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct GenreResponse {
    pub data: Vec<GenreEntry>,
}

#[derive(Debug, Deserialize)]
pub struct GenreEntry {
    pub mal_id: u32,
    pub name: String,
    pub url: String,
    pub count: u32,
}