pub struct Province {
Show 34 fields pub flags: Vec<(String, Eu4Date)>, pub name: String, pub owner: Option<CountryTag>, pub controller: Option<CountryTag>, pub previous_controller: Option<CountryTag>, pub cores: Vec<CountryTag>, pub claims: Vec<CountryTag>, pub institutions: Vec<f32>, pub trade: Option<String>, pub original_culture: Option<String>, pub culture: Option<String>, pub religion: Option<String>, pub original_religion: Option<String>, pub trade_goods: Option<String>, pub country_improve_count: HashMap<CountryTag, i32>, pub latent_trade_goods: Vec<String>, pub devastation: f32, pub base_tax: f32, pub base_production: f32, pub base_manpower: f32, pub capital: Option<String>, pub local_autonomy: f32, pub is_city: bool, pub active_trade_company: bool, pub center_of_trade: u8, pub trade_power: f32, pub hre: bool, pub buildings: HashMap<String, bool>, pub building_builders: HashMap<String, CountryTag>, pub modifiers: Vec<Modifier>, pub history: ProvinceHistory, pub ub: bool, pub colony_size: Option<f32>, pub change_culture_construction: Option<ChangeCultureConstruction>,
}

Fields

flags: Vec<(String, Eu4Date)>name: Stringowner: Option<CountryTag>controller: Option<CountryTag>previous_controller: Option<CountryTag>cores: Vec<CountryTag>claims: Vec<CountryTag>institutions: Vec<f32>trade: Option<String>original_culture: Option<String>culture: Option<String>religion: Option<String>original_religion: Option<String>trade_goods: Option<String>country_improve_count: HashMap<CountryTag, i32>latent_trade_goods: Vec<String>devastation: f32base_tax: f32base_production: f32base_manpower: f32capital: Option<String>local_autonomy: f32is_city: boolactive_trade_company: boolcenter_of_trade: u8trade_power: f32hre: boolbuildings: HashMap<String, bool>building_builders: HashMap<String, CountryTag>modifiers: Vec<Modifier>history: ProvinceHistoryub: boolcolony_size: Option<f32>change_culture_construction: Option<ChangeCultureConstruction>

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
Returns the “default value” for a type. 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.