make info fields public
This commit is contained in:
parent
e6148f6d50
commit
2bded3d628
16
src/lib.rs
16
src/lib.rs
@ -24,14 +24,14 @@ enum ConnType {
|
|||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub struct UserInfo {
|
pub struct UserInfo {
|
||||||
typ: ConnType,
|
typ: ConnType,
|
||||||
bbsid: String,
|
pub bbsid: String,
|
||||||
record: i32,
|
pub record: i32,
|
||||||
realname: String,
|
pub realname: String,
|
||||||
alias: String,
|
pub alias: String,
|
||||||
seclevel: i32,
|
pub seclevel: i32,
|
||||||
timeleft: u64,
|
pub timeleft: u64,
|
||||||
emulation: i32,
|
pub emulation: i32,
|
||||||
node: i32,
|
pub node: i32,
|
||||||
timeout: Instant,
|
timeout: Instant,
|
||||||
starttime: Instant,
|
starttime: Instant,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user