1 2 3 4 5 6 7 8 9 10 11 12
pub mod fetch; #[derive(Debug, serde::Deserialize, PartialEq)] pub struct YFinance { date: String, open: f64, high: f64, low: f64, close: f64, adj_close: f64, volume: i64 }