1 2 3 4 5 6 7 8 9 10 11
use crate::song::Song; use serde::{Serialize, Deserialize}; #[derive(Serialize, Deserialize, Debug)] pub struct Hit { pub index: String, #[serde(rename = "type")] pub hit_type: String, pub result: Song, }