parent
d9b95dac5f
commit
1d8c0044a8
|
@ -172,6 +172,12 @@ public struct User
|
|||
// Unlock
|
||||
this.lock.unlock();
|
||||
}
|
||||
|
||||
public string toString()
|
||||
{
|
||||
import std.conv : to;
|
||||
return "User [username: "~getUsername()~", status: "~to!(string)(getStatus())~"]";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue