mangadex_api/v5/forums.rs
1use crate::HttpClientRef;
2pub mod thread;
3
4use thread::ForumsThreadsEndpoint;
5#[derive(Debug)]
6pub struct ForumsEndpoint {
7 http_client: HttpClientRef,
8}
9
10impl ForumsEndpoint {
11 #[doc(hidden)]
12 pub fn new(http_client: HttpClientRef) -> Self {
13 Self { http_client }
14 }
15 pub fn thread(&self) -> ForumsThreadsEndpoint {
16 ForumsThreadsEndpoint::new(self.http_client.clone())
17 }
18}