summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-20 00:14:14 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-20 00:14:14 +0100
commitf739988888aacd04d9e821fd2d2eea467d01c6ae (patch)
tree62d6f152369a415c49fb31c7fdf0c59969cdf491
parent44833bc898cac0612907613ed64ee4ff2a94a5c8 (diff)
remove old structures
-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>,
-}