pub struct AppState {Show 22 fields
pub appid: u64,
pub LauncherPath: Option<String>,
pub name: String,
pub StateFlags: u64,
pub installdir: String,
pub LastUpdated: Option<u64>,
pub SizeOnDisk: usize,
pub StagingSize: Option<usize>,
pub buildid: u64,
pub LastOwner: Option<u64>,
pub UpdateResult: Option<u64>,
pub BytesToDownload: Option<usize>,
pub BytesDownloaded: Option<usize>,
pub BytesToStage: Option<usize>,
pub BytesStaged: Option<usize>,
pub TargetBuildID: Option<usize>,
pub AutoUpdateBehavior: Option<u64>,
pub ScheduledAutoUpdate: Option<u64>,
pub InstalledDepots: HashMap<u64, InstalledDepot>,
pub SharedDepots: Option<HashMap<u64, u64>>,
pub library_path: String,
pub game_path: String,
}Fields§
§appid: u64§LauncherPath: Option<String>§name: String§StateFlags: u64§installdir: String§LastUpdated: Option<u64>§SizeOnDisk: usize§StagingSize: Option<usize>§buildid: u64§LastOwner: Option<u64>§UpdateResult: Option<u64>§BytesToDownload: Option<usize>§BytesDownloaded: Option<usize>§BytesToStage: Option<usize>§BytesStaged: Option<usize>§TargetBuildID: Option<usize>§AutoUpdateBehavior: Option<u64>§ScheduledAutoUpdate: Option<u64>§InstalledDepots: HashMap<u64, InstalledDepot>§library_path: StringBase library path (eg. D:/Steam/)
game_path: StringFull game path (eg. D:/Steam/steamapps/common/Team Fortress 2/
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppState
impl<'de> Deserialize<'de> for AppState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AppState
impl RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnwindSafe for AppState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more