This commit is contained in:
kdeng00
2024-04-07 22:42:55 -04:00
parent 2377178492
commit 4cbe4ca41d
10 changed files with 41 additions and 53 deletions
+1 -2
View File
@@ -17,7 +17,6 @@ impl IcarusAction {
}
// TODO: Implement
pub fn print_action_and_flags(&self) {
}
pub fn print_action_and_flags(&self) {}
}
// }
+1 -1
View File
@@ -4,4 +4,4 @@ pub mod icarus_action;
pub mod song;
pub mod token;
pub mod upload_form;
pub mod user;
pub mod user;
+2 -4
View File
@@ -22,8 +22,7 @@ pub struct Song {
impl Song {
// TODO: Implement
pub fn print_info(&self) {
}
pub fn print_info(&self) {}
// TODO: Implement
pub fn song_path(&self) -> String {
@@ -41,11 +40,10 @@ impl Song {
}
}
#[derive(Debug, Deserialize, Serialize)]
pub struct CoverArt {
pub id: i32,
pub title: String,
pub path: String,
}
// }
// }
+1 -1
View File
@@ -7,4 +7,4 @@ pub struct UploadForm {
pub url: String,
pub filepath: String,
}
// }
// }
+7 -7
View File
@@ -1,9 +1,9 @@
// mod models {
use serde::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct User {
pub username: String,
pub password: String,
}
// }
#[derive(Debug, Deserialize, Serialize)]
pub struct User {
pub username: String,
pub password: String,
}
// }