1 2 3 4 5 6 7 8 9 10 11 12 13 14
use serde::Serialize; pub mod song; #[derive(Serialize)] pub struct Song { id: Option<i32>, name: Option<String>, lyrics: Option<String>, album_name: Option<String>, album_id: Option<i32>, artist_name: Option<String>, artist_id: Option<i32>, }