diff options
Diffstat (limited to 'common/src/user.rs')
-rw-r--r-- | common/src/user.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/user.rs b/common/src/user.rs index 4b39673..5f2b0e4 100644 --- a/common/src/user.rs +++ b/common/src/user.rs @@ -13,16 +13,16 @@ use std::{ fmt::Display, }; +#[rustfmt::skip] #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Default)] pub struct User { pub name: String, pub display_name: String, pub password: Vec<u8>, pub admin: bool, - #[serde(default)] - pub theme: Theme, - #[serde(default)] - pub player_preference: PlayerKind, + #[serde(default)] pub theme: Theme, + #[serde(default)] pub player_preference: PlayerKind, + #[serde(default)] pub native_secret: String, pub permissions: PermissionSet, } |