[][src]Struct eu4save::GameState

pub struct GameState {
    pub players_countries: Vec<String>,
    pub current_age: String,
    pub start_date: Eu4Date,
    pub military_hegemon: Option<Hegemon>,
    pub naval_hegemon: Option<Hegemon>,
    pub economic_hegemon: Option<Hegemon>,
    pub religion_instance_data: HashMap<String, ReligionInstanceDatum>,
    pub empire: Option<HRE>,
    pub countries: HashMap<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 previous_wars: Vec<PreviousWar>,
    pub achievement_ok: bool,
    pub achievement: Vec<i32>,
    pub completed_achievements: Vec<i32>,
    pub gameplay_settings: GameplaySettings,
}

Fields

players_countries: Vec<String>current_age: Stringstart_date: Eu4Datemilitary_hegemon: Option<Hegemon>naval_hegemon: Option<Hegemon>economic_hegemon: Option<Hegemon>religion_instance_data: HashMap<String, ReligionInstanceDatum>empire: Option<HRE>countries: HashMap<CountryTag, Country>provinces: HashMap<ProvinceId, Province>income_statistics: LedgerDatanation_size_statistics: LedgerDatascore_statistics: LedgerDatainflation_statistics: LedgerDataprevious_wars: Vec<PreviousWar>achievement_ok: boolachievement: Vec<i32>completed_achievements: Vec<i32>gameplay_settings: GameplaySettings

Trait Implementations

impl Clone for GameState[src]

impl Debug for GameState[src]

impl<'de> Deserialize<'de> for GameState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.