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 HomepageGetBanner {}
impl Request for HomepageGetBanner {
    type Response = BannerResponse;
    type Body = ();
    type Params = ();
    const METHOD: Method = Method::GET;
    const PATH: &'static str = "/api/v2/homepage/banner";
}