1 2 3 4 5 6 7 8
#[derive(Debug)] pub struct Trade<K> { pub buy_key: K, pub sell_key: K, pub price: f64, pub volume: f64, }