mangadex_api/v5/
forums.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::HttpClientRef;
pub mod thread;

use thread::ForumsThreadsEndpoint;
#[derive(Debug)]
pub struct ForumsEndpoint {
    http_client: HttpClientRef,
}

impl ForumsEndpoint {
    #[doc(hidden)]
    pub fn new(http_client: HttpClientRef) -> Self {
        Self { http_client }
    }
    pub fn thread(&self) -> ForumsThreadsEndpoint {
        ForumsThreadsEndpoint::new(self.http_client.clone())
    }
}