summaryrefslogtreecommitdiff
path: root/rust/src/structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/structs.rs')
-rw-r--r--rust/src/structs.rs35
1 files changed, 0 insertions, 35 deletions
diff --git a/rust/src/structs.rs b/rust/src/structs.rs
deleted file mode 100644
index 7535bb4..0000000
--- a/rust/src/structs.rs
+++ /dev/null
@@ -1,35 +0,0 @@
-#[allow(dead_code)]
-struct Song {
- //song variables
- id: i32,
- title: String,
- lyrics: String,
-
- //album variables
- album_id: i32,
- genres: Vec<String>,
- album_cover: String,
-
- //artist variables
- artist_id: i32,
- artist_name: String,
-}
-
-#[allow(dead_code)]
-struct Album {
- id: i32,
- title: String,
- genres: Vec<String>,
- cover: String,
- songs: Vec<i32>,
-}
-
-#[allow(dead_code)]
-struct Artist {
- id: i32,
- name: String,
- genres: Vec<String>,
- albums: Vec<i32>,
-}
-
-// lepht anonym