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

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