2018-06-16 18:13:24 +02:00
|
|
|
use indexmap::IndexMap;
|
|
|
|
use serde_json::Value;
|
|
|
|
|
2019-09-26 22:39:25 +02:00
|
|
|
use crate::data_source::DataSource;
|
2018-06-16 18:13:24 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|