CGGItemSets/src/pb_data_source.rs

35 lines
719 B
Rust
Raw Normal View History

2018-06-16 18:13:24 +02:00
extern crate indexmap;
extern crate lazy_static;
extern crate log;
extern crate regex;
extern crate reqwest;
extern crate select;
extern crate serde;
extern crate serde_json;
extern crate simple_logger;
extern crate winreg;
use indexmap::IndexMap;
use serde_json::Value;
use data_source::DataSource;
pub struct PBDataSource;
impl DataSource for PBDataSource {
fn get_champs_with_positions_and_patch(
&self,
_client: &reqwest::Client,
) -> (IndexMap<String, Vec<String>>, String) {
(IndexMap::new(), String::new())
}
fn get_champ_data(
&self,
_id: &str,
_position: &str,
_client: &reqwest::Client,
) -> Option<Value> {
None
}
}