mangadex_api/v5/user/id/
list.rs1pub mod get;
2
3use crate::HttpClientRef;
4use uuid::Uuid;
5
6use get::UserCustomListsBuilder;
7
8create_endpoint_node! {
9 #[name] ListEndpoint ListEndpointMethods,
10 #[args] {
11 http_client: HttpClientRef,
12 id: Uuid,
13 },
14 #[methods] {
15 get() -> UserCustomListsBuilder;
16 }
17}
18
19impl ListEndpointMethods for ListEndpoint {
20 fn get(&self) -> UserCustomListsBuilder {
21 UserCustomListsBuilder::default()
22 .user_id(self.id)
23 .http_client(self.http_client.clone())
24 }
25}