diff options
author | David Blajda <blajda@hotmail.com> | 2019-05-08 15:38:37 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2019-05-08 15:38:37 +0000 |
commit | 98fb79b85e3cfbb547e5340b30623511daf09ef5 (patch) | |
tree | a03bd7a95c86a92eb7510409429f50433056d7ab /src/helix/namespaces/mod.rs | |
parent | 0e09c2c06fc0b81f11d12985a4172c815233db17 (diff) |
:WIP: Move types to a different crate
Diffstat (limited to 'src/helix/namespaces/mod.rs')
-rw-r--r-- | src/helix/namespaces/mod.rs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/helix/namespaces/mod.rs b/src/helix/namespaces/mod.rs deleted file mode 100644 index 1d4239a..0000000 --- a/src/helix/namespaces/mod.rs +++ /dev/null @@ -1,26 +0,0 @@ -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, - } - } -} |