blob: 1d4239a1d9ed3d4fdcf3b5fa82684046c4684a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
use std::marker::PhantomData;
pub use super::Client;
pub use crate::client::{RatelimitKey, ClientTrait, ApiRequest, IterableApiRequest, ParamList};
pub use std::collections::BTreeMap;
pub use reqwest::Method;
pub use super::models;
pub mod clips;
pub mod users;
pub mod videos;
pub mod auth;
pub struct Namespace<T> {
client: Client,
_type: PhantomData<T>
}
impl<T> Namespace<T> {
pub fn new(client: &Client) -> Self {
Namespace {
client: client.clone(),
_type: PhantomData,
}
}
}
|