diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-07 16:59:29 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-07 16:59:29 -0400 |
commit | c64a7a640ac8c59eb6339f0a06d2ad2efab3fd11 (patch) | |
tree | 229ccf88da26d5339aadab98013834b6c2af6cbc /protocol/src | |
parent | 01753ebd32e4e0fa8adb11fb02a77720773e3018 (diff) |
Start working on authentication
Diffstat (limited to 'protocol/src')
-rw-r--r-- | protocol/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs new file mode 100644 index 0000000..a56554f --- /dev/null +++ b/protocol/src/lib.rs @@ -0,0 +1,6 @@ +use serde::{Deserialize, Serialize}; + +#[derive(Serialize, Deserialize, PartialEq, Eq, Clone, Debug)] +pub struct UserInfo { + pub username: String, +} |