diff options
| author | 2025-02-01 00:20:54 -0600 | |
|---|---|---|
| committer | 2025-02-01 00:20:54 -0600 | |
| commit | 6a1bb0980facadcc22cbae27f57782050e7924a1 (patch) | |
| tree | dafdd715f7fc3f42323bd20666bd653a73a30b68 /src/auth/types.rs | |
| parent | do clippy stuff and change line endings (diff) | |
random changes
Diffstat (limited to 'src/auth/types.rs')
| -rw-r--r-- | src/auth/types.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auth/types.rs b/src/auth/types.rs index 79b89c9..b9cdaad 100644 --- a/src/auth/types.rs +++ b/src/auth/types.rs @@ -12,6 +12,8 @@ use uuid::Uuid; pub struct Property { pub name: String, pub value: String, + + #[serde(skip_serializing_if = "Option::is_none")] pub signature: Option<String> } @@ -99,7 +101,7 @@ pub struct MinecraftPlayerInfo { pub struct MsaUser { #[serde(skip_serializing_if = "Option::is_none")] pub player_profile: Option<PlayerProfile>, - pub xuid: Option<Uuid>, + pub xuid: Option<String>, pub gamertag: Option<String>, #[serde(skip)] // this information is transient |
