diff --git a/src/accountmanager.rs b/src/accountmanager.rs new file mode 100644 index 0000000..60466eb --- /dev/null +++ b/src/accountmanager.rs @@ -0,0 +1,26 @@ +use serde::{Serialize, Deserialize}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct Manifest { + pub encrypted: bool, + pub entries: Vec, + pub first_run: bool, + pub periodic_checking: bool, + pub periodic_checking_interval: i32, + pub periodic_checking_checkall: bool, + pub auto_confirm_market_transactions: bool, + pub auto_confirm_trades: bool, + + #[serde(skip)] + pub accounts: Vec +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct ManifestEntry { + pub encryption_iv: String, + pub encryption_salt: String, + pub filename: String, + pub steam_id: u64, +} + +