Struct eu4save::models::CountryState
source · [−]pub struct CountryState {
pub prosperity: f32,
pub country: CountryTag,
}
Fields
prosperity: f32
country: CountryTag
Trait Implementations
sourceimpl Clone for CountryState
impl Clone for CountryState
sourcefn clone(&self) -> CountryState
fn clone(&self) -> CountryState
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 CountryState
impl Debug for CountryState
sourceimpl<'de> Deserialize<'de> for CountryState
impl<'de> Deserialize<'de> for CountryState
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 CountryState
impl Send for CountryState
impl Sync for CountryState
impl Unpin for CountryState
impl UnwindSafe for CountryState
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