use super::constants::{DEFAULT, IP2LOCATION, IPGEOLOCATION};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
#[derive(Serialize, Deserialize, Debug)]
#[serde(transparent)]
pub struct APIKeys(pub HashMap<String, String>);
impl Default for APIKeys {
fn default() -> Self {
Self(HashMap::from([
(IP2LOCATION.to_string(), "".to_string()),
(IPGEOLOCATION.to_string(), "".to_string()),
(DEFAULT.to_string(), "".to_string()),
]))
}
}