feat(login): add account struct

This commit is contained in:
DJMrTV 2025-02-01 17:18:52 +01:00
commit 153c401cb1
2 changed files with 16 additions and 0 deletions

15
src/nex/account.rs Normal file
View file

@ -0,0 +1,15 @@
struct Account{
pid: u32,
kerbros_password: Box<str>,
}
impl Account{
fn new(pid: u32, passwd: &str) -> Self{
Self{
kerbros_password: passwd.into(),
pid
}
}
}

1
src/nex/mod.rs Normal file
View file

@ -0,0 +1 @@
mod account;