mangadex_api/v5/manga/
tag.rs

1use crate::HttpClientRef;
2
3pub mod get;
4
5use get::ListTagsBuilder;
6
7#[derive(Debug)]
8pub struct TagEndpoint {
9    http_client: HttpClientRef,
10}
11
12impl TagEndpoint {
13    #[doc(hidden)]
14    pub fn new(http_client: HttpClientRef) -> Self {
15        Self { http_client }
16    }
17    pub fn get(&self) -> ListTagsBuilder {
18        ListTagsBuilder::default().http_client(self.http_client.clone())
19    }
20}