summaryrefslogtreecommitdiff
path: root/src/structs.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-23 23:28:01 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-23 23:28:01 +0100
commit8c4de2ddac066a072f376e9f30409b114aa9978c (patch)
treec1dc334904206f1b796d753293cb0b5c838f35d8 /src/structs.rs
parent6a7a49fb3804d0d27bbaee08b6feb26b4973b4bc (diff)
finished jws tutorial
Diffstat (limited to 'src/structs.rs')
-rw-r--r--src/structs.rs35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/structs.rs b/src/structs.rs
deleted file mode 100644
index 7535bb4..0000000
--- a/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