pub struct Monarch {
pub kind: MonarchKind,
pub id: u64,
pub country: Option<Tag>,
pub female: bool,
pub regency: bool,
pub adm: i32,
pub dip: i32,
pub mil: i32,
pub claim: Milli,
pub birth: Date,
pub leader: Option<u64>,
}Expand description
A ruler, heir or consort, as the game stores them.
Fields§
§kind: MonarchKindRuler, heir or consort.
id: u64The game’s id of the person.
country: Option<Tag>The country asked about.
female: boolFemale.
regency: boolA regency council or a regent rules for them.
adm: i32Administrative skill, without modifiers.
dip: i32Diplomatic skill.
mil: i32Military skill.
claim: MilliAn heir’s claim strength; 0 for a ruler or a consort.
birth: DateThe birth date.
leader: Option<u64>The id of the leader they also are (Unit::leader); None for none.
Trait Implementations§
impl Copy for Monarch
impl Eq for Monarch
impl StructuralPartialEq for Monarch
Auto Trait Implementations§
impl Forget for Monarch
impl Freeze for Monarch
impl Move for Monarch
impl RefUnwindSafe for Monarch
impl Send for Monarch
impl Sync for Monarch
impl Unpin for Monarch
impl UnsafeUnpin for Monarch
impl UnwindSafe for Monarch
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