rust-nex/src/nex/account.rs

15 lines
223 B
Rust
Raw Normal View History

2025-02-01 17:18:52 +01:00
struct Account{
pid: u32,
kerbros_password: Box<str>,
}
impl Account{
2025-02-01 17:38:09 +01:00
const fn new(pid: u32, passwd: &str) -> Self{
2025-02-01 17:18:52 +01:00
Self{
kerbros_password: passwd.into(),
pid
}
}
}