blob: 8adc1e3b961a308e61fe7da0e1b091c0e9a2350d (
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};
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,
}
}
}
|