From 347322ce26f3ed9d2ed25a1bb474c04c6190a9e4 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Fri, 26 Mar 2021 14:31:48 -0400 Subject: [PATCH] add the rest of the fields to SteamGuardAccount --- src/lib.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 3356156..e526566 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,8 +16,14 @@ extern crate base64; #[derive(Debug, Serialize, Deserialize)] pub struct SteamGuardAccount { pub account_name: String, + pub serial_number: String, pub revocation_code: String, pub shared_secret: String, + pub token_gid: String, + pub identity_secret: String, + pub server_time: u64, + pub uri: String, + pub fully_enrolled: bool, #[serde(rename = "Session")] pub session: Option, } @@ -51,8 +57,14 @@ impl SteamGuardAccount { pub fn new() -> Self { return SteamGuardAccount{ account_name: String::from(""), + serial_number: String::from(""), revocation_code: String::from(""), shared_secret: String::from(""), + token_gid: String::from(""), + identity_secret: String::from(""), + server_time: 0, + uri: String::from(""), + fully_enrolled: false, session: Option::None, } }