mangadex_api/v5/user/follows/manga/
id.rs

1pub mod get;
2
3use crate::HttpClientRef;
4use get::IsFollowingMangaBuilder;
5use uuid::Uuid;
6
7create_endpoint_node! {
8    #[name] IdEndpoint IdEndpointMethods,
9    #[args] {
10        http_client : HttpClientRef,
11        id: Uuid,
12    },
13    #[methods] {
14        get() -> IsFollowingMangaBuilder;
15    }
16}
17
18impl IdEndpointMethods for IdEndpoint {
19    fn get(&self) -> IsFollowingMangaBuilder {
20        IsFollowingMangaBuilder::default()
21            .manga_id(self.id)
22            .http_client(self.http_client.clone())
23    }
24}