subspedia_rs
pub fn get<R: 'static + Request>( req: &R) -> Result<Vec<R::Response>, FetchError>
Makes a request based on given type
Returns error if something gone wrong during http requests and parsing json.
extern crate subspedia; use subspedia::ReqSerieTraduzione; fn main() { println!("{:#?}", subspedia::get(ReqSerieTraduzione).unwrap()); }