pub enum FactionState {
Show 23 variants
Blight,
Boom,
Bust,
CivilLiberty,
CivilUnrest,
CivilWar,
Drought,
Election,
Exiled,
Expansion,
Famine,
InfrastructureFailure,
Investment,
Lockdown,
NaturalDisaster,
Outbreak,
PirateAttack,
PublicHoliday,
Retreat,
Terrorism,
War,
None,
Unknown(String),
}
Expand description
The state a faction can be in. The primary faction for a system also dictates the state of the system as a whole.
Variants§
Blight
Boom
Bust
CivilLiberty
CivilUnrest
CivilWar
Drought
Election
Exiled
Expansion
Famine
InfrastructureFailure
Investment
Lockdown
NaturalDisaster
Outbreak
PirateAttack
PublicHoliday
Retreat
Terrorism
War
None
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for FactionState
impl Clone for FactionState
Source§fn clone(&self) -> FactionState
fn clone(&self) -> FactionState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FactionState
impl Debug for FactionState
Source§impl<'de> Deserialize<'de> for FactionState
impl<'de> Deserialize<'de> for FactionState
Source§fn 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
Source§impl Display for FactionState
impl Display for FactionState
Source§impl PartialEq for FactionState
impl PartialEq for FactionState
Source§impl Serialize for FactionState
impl Serialize for FactionState
impl StructuralPartialEq for FactionState
Auto Trait Implementations§
impl Freeze for FactionState
impl RefUnwindSafe for FactionState
impl Send for FactionState
impl Sync for FactionState
impl Unpin for FactionState
impl UnwindSafe for FactionState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more