pub struct GameState {
Show 23 fields pub players_countries: Vec<String>, pub current_age: String, pub start_date: Eu4Date, pub map_area_data: HashMap<String, MapAreaDatum>, pub military_hegemon: Option<Hegemon>, pub naval_hegemon: Option<Hegemon>, pub economic_hegemon: Option<Hegemon>, pub religions: Vec<(String, ReligionGameState)>, pub religion_instance_data: HashMap<String, ReligionInstanceDatum>, pub empire: Option<HRE>, pub countries: Vec<(CountryTag, Country)>, pub provinces: HashMap<ProvinceId, Province>, pub income_statistics: LedgerData, pub nation_size_statistics: LedgerData, pub score_statistics: LedgerData, pub inflation_statistics: LedgerData, pub active_wars: Vec<ActiveWar>, pub previous_wars: Vec<PreviousWar>, pub achievement_ok: bool, pub achievement: Vec<i32>, pub completed_achievements: Vec<i32>, pub gameplay_settings: GameplaySettings, pub diplomacy: Diplomacy,
}

Fields

players_countries: Vec<String>current_age: Stringstart_date: Eu4Datemap_area_data: HashMap<String, MapAreaDatum>military_hegemon: Option<Hegemon>naval_hegemon: Option<Hegemon>economic_hegemon: Option<Hegemon>religions: Vec<(String, ReligionGameState)>religion_instance_data: HashMap<String, ReligionInstanceDatum>empire: Option<HRE>countries: Vec<(CountryTag, Country)>provinces: HashMap<ProvinceId, Province>income_statistics: LedgerDatanation_size_statistics: LedgerDatascore_statistics: LedgerDatainflation_statistics: LedgerDataactive_wars: Vec<ActiveWar>previous_wars: Vec<PreviousWar>achievement_ok: boolachievement: Vec<i32>completed_achievements: Vec<i32>gameplay_settings: GameplaySettingsdiplomacy: Diplomacy

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.