Files
rocket-api-rust/src/events/ball_hit/ball.rs
2026-05-18 20:24:22 +02:00

17 lines
338 B
Rust

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
}