35 lines
719 B
Rust
35 lines
719 B
Rust
|
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
|
||
|
}
|
||
|
}
|