1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use std::marker::PhantomData; pub use super::models; pub use super::Client; pub mod clips; 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, } } }