mangadex_api/v5/at_home/
server.rs

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