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: CountryTagTrait Implementations§
Source§impl<'de> Deserialize<'de> for ActiveWar
impl<'de> Deserialize<'de> for ActiveWar
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
Auto Trait Implementations§
impl Freeze for ActiveWar
impl RefUnwindSafe for ActiveWar
impl Send for ActiveWar
impl Sync for ActiveWar
impl Unpin for ActiveWar
impl UnwindSafe for ActiveWar
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