diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 18:33:22 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 18:33:22 -0400 |
commit | a7d833d6b7729f09bef891b0c8b7bd998ac17abf (patch) | |
tree | 018bba6c2ff1a58ed5b739939f63a3929d0dc662 /protocol/src | |
parent | 30102e5da48b53806b33f04041a46bec4c3b2fa3 (diff) |
Add bridge table to db; introduce player ids from oauth subject ids
Diffstat (limited to 'protocol/src')
-rw-r--r-- | protocol/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs index a56554f..4b1bb06 100644 --- a/protocol/src/lib.rs +++ b/protocol/src/lib.rs @@ -1,6 +1,13 @@ use serde::{Deserialize, Serialize}; +use uuid::Uuid; #[derive(Serialize, Deserialize, PartialEq, Eq, Clone, Debug)] pub struct UserInfo { pub username: String, + pub table: Option<Table>, +} + +#[derive(Serialize, Deserialize, PartialEq, Eq, Clone, Debug)] +pub struct Table { + pub id: Uuid, } |