summaryrefslogtreecommitdiff
path: root/src/routes.rs
blob: a219da17452c86ba6d311925156724d734e1da9e (plain)
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>,
}