Struct eu4save::models::CountryHistory
source · [−]pub struct CountryHistory {
pub government: Option<String>,
pub technology_group: Option<String>,
pub primary_culture: Option<String>,
pub religion: Option<String>,
pub add_government_reform: Vec<String>,
pub events: Vec<(Eu4Date, CountryEvents)>,
}
Fields
government: Option<String>
technology_group: Option<String>
primary_culture: Option<String>
religion: Option<String>
add_government_reform: Vec<String>
events: Vec<(Eu4Date, CountryEvents)>
Trait Implementations
sourceimpl Clone for CountryHistory
impl Clone for CountryHistory
sourcefn clone(&self) -> CountryHistory
fn clone(&self) -> CountryHistory
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 CountryHistory
impl Debug for CountryHistory
sourceimpl Default for CountryHistory
impl Default for CountryHistory
sourcefn default() -> CountryHistory
fn default() -> CountryHistory
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CountryHistory
impl<'de> Deserialize<'de> for CountryHistory
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CountryHistory
impl Send for CountryHistory
impl Sync for CountryHistory
impl Unpin for CountryHistory
impl UnwindSafe for CountryHistory
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