summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/routes.rs b/src/routes.rs
index d984505..869c123 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -1,30 +1,3 @@
-use serde::Serialize;
-
pub mod song;
pub mod album;
pub mod artist;
-
-#[derive(Serialize)]
-pub struct Song {
- name: Option<String>,
- id: Option<i32>,
- lyrics: Option<String>,
- album_name: Option<String>,
- album_id: Option<i32>,
- artist_name: Option<String>,
- artist_id: Option<i32>,
-}
-
-#[derive(Serialize)]
-pub struct Album {
- name: Option<String>,
- id: Option<i32>,
- artist_name: Option<String>,
- artist_id: Option<i32>,
-}
-
-#[derive(Serialize)]
-pub struct Artist {
- name: Option<String>,
- id: Option<i32>,
-}