pub struct Conflict {
pub war_type: ConflictWarType,
pub status: ConflictStatus,
pub faction_1: ConflictFaction,
pub faction_2: ConflictFaction,
}
Expand description
Information about a current conflict or war in a system.
Fields§
§war_type: ConflictWarType
The kind of conflict that is happening.
status: ConflictStatus
The current status of the conflict.
faction_1: ConflictFaction
One of the factions that are part of the conflict.
faction_2: ConflictFaction
The second one the factions that are part of the conflict.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Conflict
impl<'de> Deserialize<'de> for Conflict
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
impl StructuralPartialEq for Conflict
Auto Trait Implementations§
impl Freeze for Conflict
impl RefUnwindSafe for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnwindSafe for Conflict
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