1 2 3 4 5 6 7 8 9 10 11 12 13
pub mod core; pub struct Client { pub api_key: String, } impl Client { pub fn new(api_key: &str) -> Client { Client { api_key: api_key.to_string(), } } }