summaryrefslogtreecommitdiff
path: root/src/routes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.rs')
-rw-r--r--src/routes.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes.rs b/src/routes.rs
index 6195f32..a219da1 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -4,6 +4,11 @@ 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>,
}