use serde::Deserialize;
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AccountResponse {
pub reseller_id: Option<String>,
pub reseller_name: Option<String>,
pub usd_balance: Option<f64>,
pub try_balance: Option<f64>,
}
#[derive(Debug)]
pub struct ResellerDetails {
pub id: String,
pub name: String,
pub active: bool,
pub balances: Vec<Balance>,
}
#[derive(Debug, Clone)]
pub struct Balance {
pub balance: f64,
pub currency: String,
pub symbol: String,
}
#[derive(Debug)]
pub struct CurrentBalance {
pub balance: f64,
pub currency_id: u32,
pub currency_name: String,
pub currency_symbol: String,
}