pub struct Country {
pub tag: Option<Tag>,
pub capital: Option<i32>,
pub province_count: i32,
pub observer: bool,
pub treasury: Option<Milli>,
pub stability: Option<Milli>,
pub prestige: Option<Milli>,
pub manpower: Option<Milli>,
pub monthly_income: Option<Milli>,
}Expand description
A country. A value this game build does not have is None.
Fields§
§tag: Option<Tag>Its tag.
capital: Option<i32>Its capital province; None for none.
province_count: i32The provinces it owns; above 0 when it exists on the map.
observer: boolThe observer’s pseudo-country.
treasury: Option<Milli>Ducats.
stability: Option<Milli>Stability.
prestige: Option<Milli>Prestige.
manpower: Option<Milli>Manpower in the game’s thousands: Milli(25000) is 25 000 men.
monthly_income: Option<Milli>The income total of the economy view, before expenses, as of the last monthly update.
Trait Implementations§
impl Copy for Country
impl Eq for Country
impl StructuralPartialEq for Country
Auto Trait Implementations§
impl Forget for Country
impl Freeze for Country
impl Move for Country
impl RefUnwindSafe for Country
impl Send for Country
impl Sync for Country
impl Unpin for Country
impl UnsafeUnpin for Country
impl UnwindSafe for Country
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