Struct eu4save::models::CountryGovernment
source · [−]pub struct CountryGovernment {
pub government: String,
pub reform_stack: CountryGovernmentReforms,
}
Fields
government: String
reform_stack: CountryGovernmentReforms
Trait Implementations
sourceimpl Clone for CountryGovernment
impl Clone for CountryGovernment
sourcefn clone(&self) -> CountryGovernment
fn clone(&self) -> CountryGovernment
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 CountryGovernment
impl Debug for CountryGovernment
sourceimpl Default for CountryGovernment
impl Default for CountryGovernment
sourcefn default() -> CountryGovernment
fn default() -> CountryGovernment
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CountryGovernment
impl<'de> Deserialize<'de> for CountryGovernment
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 CountryGovernment
impl Send for CountryGovernment
impl Sync for CountryGovernment
impl Unpin for CountryGovernment
impl UnwindSafe for CountryGovernment
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