mangadex_api/v5/custom_list/id/
feed.rs

1use uuid::Uuid;
2
3use crate::HttpClientRef;
4
5pub mod get;
6
7use get::CustomListMangaFeedBuilder;
8
9#[derive(Debug, Clone)]
10pub struct FeedEndPoint {
11    http_client: HttpClientRef,
12    id: Uuid,
13}
14
15impl FeedEndPoint {
16    #[doc(hidden)]
17    pub fn new(http_client: HttpClientRef, id: Uuid) -> Self {
18        Self { http_client, id }
19    }
20    pub fn get(&self) -> CustomListMangaFeedBuilder {
21        CustomListMangaFeedBuilder::default()
22            .list_id(self.id)
23            .http_client(self.http_client.clone())
24    }
25}