mangadex_api/v5/user/history.rs
1pub mod get;
2
3use crate::HttpClientRef;
4use get::GetUserHistoryBuilder;
5
6create_endpoint_node! {
7 #[name] HistoryEndpoint HistoryEndpointMethods,
8 #[args] {
9 http_client: HttpClientRef,
10 },
11 #[methods] {
12 get() -> GetUserHistoryBuilder;
13 }
14}
15
16impl HistoryEndpointMethods for HistoryEndpoint {
17 fn get(&self) -> GetUserHistoryBuilder {
18 GetUserHistoryBuilder::default().http_client(self.http_client.clone())
19 }
20}