pub struct ActiveWar {
pub name: String,
pub history: WarHistory,
pub participants: Vec<WarParticipant>,
pub original_attacker: CountryTag,
pub original_defender: CountryTag,
}
Fields
name: String
history: WarHistory
participants: Vec<WarParticipant>
original_attacker: CountryTag
original_defender: CountryTag
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ActiveWar
impl<'de> Deserialize<'de> for ActiveWar
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 ActiveWar
impl Send for ActiveWar
impl Sync for ActiveWar
impl Unpin for ActiveWar
impl UnwindSafe for ActiveWar
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