Struct eu4save::query::NationEvents
source · [−]pub struct NationEvents {
pub initial: CountryTag,
pub latest: CountryTag,
pub stored: CountryTag,
pub events: Vec<NationEvent>,
}
Fields
initial: CountryTag
The initial starting tag for a country. In a TYR -> IRE -> GBR run, this would be TYR
latest: CountryTag
The latest tag that a country achieved. If DMS -> IRE but then IRE is annexed by SCO which culture shifts to form IRE then both initial tags of SCO and DMS will report a latest tag of IRE
stored: CountryTag
The tag which the history of this country is stored under. For instance if ULM forms byzantium then the initial byzantium operator’s history is stored under ULM
events: Vec<NationEvent>
An ordered (by date) recounting of how the initial tag became the the latest tag. May be empty for nations that did not tag switch, get annexed, etc.
Trait Implementations
sourceimpl Clone for NationEvents
impl Clone for NationEvents
sourcefn clone(&self) -> NationEvents
fn clone(&self) -> NationEvents
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NationEvents
impl Debug for NationEvents
sourceimpl PartialEq<NationEvents> for NationEvents
impl PartialEq<NationEvents> for NationEvents
sourcefn eq(&self, other: &NationEvents) -> bool
fn eq(&self, other: &NationEvents) -> bool
sourceimpl Serialize for NationEvents
impl Serialize for NationEvents
impl Eq for NationEvents
impl StructuralEq for NationEvents
impl StructuralPartialEq for NationEvents
Auto Trait Implementations
impl RefUnwindSafe for NationEvents
impl Send for NationEvents
impl Sync for NationEvents
impl Unpin for NationEvents
impl UnwindSafe for NationEvents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more