username: type to parse username
This commit is contained in:
parent
0e77f7be5e
commit
bdd5eca9f1
7 changed files with 119 additions and 24 deletions
|
|
@ -1,6 +1,7 @@
|
|||
mod app;
|
||||
mod key;
|
||||
mod user;
|
||||
mod username;
|
||||
|
||||
// error
|
||||
#[derive(thiserror::Error)]
|
||||
|
|
@ -14,3 +15,5 @@ pub enum Error {
|
|||
pub use app::AppID;
|
||||
pub use key::KeyID;
|
||||
pub use user::UserID;
|
||||
pub use username::Username;
|
||||
pub use username::INVALID_USERNAME_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue