Added rust code

This commit is contained in:
kdeng00
2024-04-07 21:43:48 -04:00
parent d521802f4b
commit 0b4785681e
25 changed files with 405 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
struct UserManager {
user: models::User,
ica_action: models::IcarusAction,
}
impl UserManager {
// TODO: Implement
pub fn retrieve_user(&self) -> models::User {
return models::User {
username: String::from(""),
password: String::from(""),
};
}
// TODO: Implement
fn parse_user_from_actions(&self) {
}
}