temp: pc change
This commit is contained in:
1 parent
32937ae045
commit
127cf17c90
13 files changed
+176
-10
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
mod loaner_user;
|
||||
mod student_info;
|
||||
|
||||
pub use self::{
|
||||
loaner_user::*,
|
||||
student_info::*
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct StudentInfo {
|
||||
pub first_name: String,
|
||||
pub last_name: String,
|
||||
}
|
||||
Reference in new issue
Block a user