1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::de::DeserializeOwned;
use serde::Serialize;
use std::fmt::Debug;

pub mod access_management;
pub mod adding_files;
pub mod adding_notes;
pub mod adding_tags;
pub mod adding_urls;
pub mod client_builder;
pub mod managing_cookies_and_http_headers;
pub mod managing_pages;
pub mod searching_and_fetching_files;

pub(crate) trait Endpoint {
    type Request: Serialize + Debug;
    type Response: DeserializeOwned + Debug;

    fn path() -> String;
}