diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-19 14:17:25 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-19 14:17:25 +0100 |
commit | 073149464269b5fcc90e282536c1a946ad474085 (patch) | |
tree | a497ad92280f4e00cfbea909fa3a2de3bc8554f4 /src/routes.rs | |
parent | 5e875ca22341821a9897092b7b9e656a7405ef32 (diff) |
add docs + song api routes
Diffstat (limited to 'src/routes.rs')
-rw-r--r-- | src/routes.rs | 5 |
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>, } |