Struct eu4save::models::BattleSide
source · [−]pub struct BattleSide {
pub cavalry: u32,
pub infantry: u32,
pub artillery: u32,
pub heavy_ship: u32,
pub light_ship: u32,
pub galley: u32,
pub transport: u32,
pub losses: u32,
pub country: CountryTag,
pub commander: Option<String>,
}
Fields
cavalry: u32
infantry: u32
artillery: u32
heavy_ship: u32
light_ship: u32
galley: u32
transport: u32
losses: u32
country: CountryTag
commander: Option<String>
Trait Implementations
sourceimpl Clone for BattleSide
impl Clone for BattleSide
sourcefn clone(&self) -> BattleSide
fn clone(&self) -> BattleSide
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 BattleSide
impl Debug for BattleSide
sourceimpl<'de> Deserialize<'de> for BattleSide
impl<'de> Deserialize<'de> for BattleSide
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 BattleSide
impl Send for BattleSide
impl Sync for BattleSide
impl Unpin for BattleSide
impl UnwindSafe for BattleSide
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