summaryrefslogtreecommitdiffstats
path: root/src/auth/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/types.rs')
-rw-r--r--src/auth/types.rs4
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