use serde::Deserialize;
use crate::types::enums::{GoalType, ScoringTeam};
#[derive(Debug, Clone, Deserialize)]
pub struct LastThrow {
pub arm_speed: f32,
pub total_speed: f32,
pub off_axis_spin_deg: f32,
pub wrist_throw_penalty: f32,
pub rot_per_sec: f32,
pub pot_speed_from_rot: f32,
pub speed_from_arm: f32,
pub speed_from_movement: f32,
pub speed_from_wrist: f32,
pub wrist_align_to_throw_deg: f32,
pub throw_align_to_movement_deg: f32,
pub off_axis_penalty: f32,
pub throw_move_penalty: f32,
}
#[derive(Debug, Clone, Deserialize)]
pub struct LastScore {
pub disc_speed: f32,
pub team: ScoringTeam,
pub goal_type: GoalType,
pub point_amount: i32,
pub distance_thrown: f32,
pub person_scored: String,
pub assist_scored: String,
}