use serde::{Deserialize, Serialize}; use super::location::Location; #[derive(Debug, Serialize, Deserialize, Clone)] pub struct Ball { #[serde(rename = "PreHitSpeed")] pub pre_hit_speed: f64, #[serde(rename = "PostHitSpeed")] pub post_hit_speed: f64, #[serde(rename = "Location")] pub location: Location }