use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct TreasuryRate {
pub date: String,
pub month_1: Option<f64>,
pub month_2: Option<f64>,
pub month_3: Option<f64>,
pub month_6: Option<f64>,
pub year_1: Option<f64>,
pub year_2: Option<f64>,
pub year_3: Option<f64>,
pub year_5: Option<f64>,
pub year_7: Option<f64>,
pub year_10: Option<f64>,
pub year_20: Option<f64>,
pub year_30: Option<f64>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct EconomicIndicator {
pub date: String,
pub value: Option<f64>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MarketRiskPremium {
pub country: String,
pub continent: Option<String>,
pub total_equity_risk_premium: Option<f64>,
pub country_risk_premium: Option<f64>,
}