dandanapi 0.2.0

Dandanapi http client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;
use crate::Request;
use reqwest::Method;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct BangumiGetSeasons {}
impl Request for BangumiGetSeasons {
    type Response = BangumiSeasonListResponse;
    type Body = ();
    type Params = ();
    const METHOD: Method = Method::GET;
    const PATH: &'static str = "/api/v2/bangumi/season/anime";
}