CGGItemSets/src/pb_data_source.rs

28 lines
608 B
Rust
Raw Normal View History

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_alias(&self) -> &str {
"PB"
}
2018-06-16 18:13:24 +02:00
fn get_champs_with_positions_and_patch(
&self,
2020-06-28 18:34:31 +02:00
_client: &reqwest::blocking::Client,
2018-06-16 18:13:24 +02:00
) -> (IndexMap<String, Vec<String>>, String) {
(IndexMap::new(), String::new())
}
fn get_champ_data_with_win_pourcentage(
2018-06-16 18:13:24 +02:00
&self,
_id: &str,
_position: &str,
2020-06-28 18:34:31 +02:00
_client: &reqwest::blocking::Client,
) -> Option<(Vec<Value>, f64)> {
2018-06-16 18:13:24 +02:00
None
}
}