From a355cb664491e931984e4965311c682fdd5cfba6 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Fri, 26 Mar 2021 13:14:59 -0400 Subject: [PATCH] update Manifest struct --- src/accountmanager.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/accountmanager.rs b/src/accountmanager.rs index c2cda60..026d231 100644 --- a/src/accountmanager.rs +++ b/src/accountmanager.rs @@ -3,8 +3,9 @@ use std::io::BufReader; use std::path::Path; use serde::{Serialize, Deserialize}; use std::error::Error; +use steamguard_cli::SteamGuardAccount; -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize)] pub struct Manifest { pub encrypted: bool, pub entries: Vec, @@ -15,8 +16,10 @@ pub struct Manifest { pub auto_confirm_market_transactions: bool, pub auto_confirm_trades: bool, - // #[serde(skip)] - // pub accounts: Vec, + #[serde(skip)] + pub accounts: Vec, + #[serde(skip)] + folder: String, // I wanted to use a Path here, but it was too hard to make it work... } #[derive(Debug, Clone, Serialize, Deserialize)]