temp: pc change

This commit is contained in:
alphafetus committed 2025-06-24 19:01:20 -04:00
1 parent 32937ae045
commit 127cf17c90
13 files changed
+176 -10

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#[derive(Clone)]
pub struct LoanerUser {
pub first_name: String,
pub last_name: String,
pub email: String,
pub has_loan: bool
}
impl LoanerUser {
pub fn new() -> Self {
LoanerUser {
first_name: "".to_string(),
last_name: "".to_string(),
email: "".to_string(),
has_loan: false
}
}
}
+7
View File
@@ -0,0 +1,7 @@
mod loaner_user;
mod student_info;
pub use self::{
loaner_user::*,
student_info::*
};
+7
View File
@@ -0,0 +1,7 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct StudentInfo {
pub first_name: String,
pub last_name: String,
}