Enum eu4save::models::CountryEvent
source · [−]pub enum CountryEvent {
Show 14 variants
Monarch(Monarch),
Heir(Monarch),
MonarchHeir(Monarch),
MonarchConsort(Monarch),
Queen(Monarch),
Union(u32),
Capital(u32),
ChangedCountryNameFrom(String),
ChangedCountryAdjectiveFrom(String),
ChangedCountryMapColorFrom(Vec<u8>),
ChangedTagFrom(CountryTag),
Leader(Leader),
RemoveAcceptedCulture(String),
Religion(String),
}
Variants
Monarch(Monarch)
Heir(Monarch)
MonarchHeir(Monarch)
MonarchConsort(Monarch)
Queen(Monarch)
Union(u32)
Capital(u32)
ChangedCountryNameFrom(String)
ChangedCountryAdjectiveFrom(String)
ChangedCountryMapColorFrom(Vec<u8>)
ChangedTagFrom(CountryTag)
Leader(Leader)
RemoveAcceptedCulture(String)
Religion(String)
Implementations
sourceimpl CountryEvent
impl CountryEvent
Trait Implementations
sourceimpl Clone for CountryEvent
impl Clone for CountryEvent
sourcefn clone(&self) -> CountryEvent
fn clone(&self) -> CountryEvent
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 CountryEvent
impl Debug for CountryEvent
sourceimpl<'de> Deserialize<'de> for CountryEvent
impl<'de> Deserialize<'de> for CountryEvent
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 CountryEvent
impl Send for CountryEvent
impl Sync for CountryEvent
impl Unpin for CountryEvent
impl UnwindSafe for CountryEvent
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