pub struct FactionTerritoryWarFaction {
pub id: FactionId,
pub name: String,
pub score: i32,
pub chain: Option<i32>,
pub players_on_wall: Option<Vec<FactionTerritoryWarFactionWallPlayers>>,
}
Expand description
The fields ‘chain’ and ‘players_on_wall’ exist only for wars with the result ‘in_progress’.
Fields§
§id: FactionId
§name: String
§score: i32
§chain: Option<i32>
§players_on_wall: Option<Vec<FactionTerritoryWarFactionWallPlayers>>
Trait Implementations§
Source§impl Clone for FactionTerritoryWarFaction
impl Clone for FactionTerritoryWarFaction
Source§fn clone(&self) -> FactionTerritoryWarFaction
fn clone(&self) -> FactionTerritoryWarFaction
Returns a duplicate 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 FactionTerritoryWarFaction
impl Debug for FactionTerritoryWarFaction
Source§impl<'de> Deserialize<'de> for FactionTerritoryWarFaction
impl<'de> Deserialize<'de> for FactionTerritoryWarFaction
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 FactionTerritoryWarFaction
Auto Trait Implementations§
impl Freeze for FactionTerritoryWarFaction
impl RefUnwindSafe for FactionTerritoryWarFaction
impl Send for FactionTerritoryWarFaction
impl Sync for FactionTerritoryWarFaction
impl Unpin for FactionTerritoryWarFaction
impl UnwindSafe for FactionTerritoryWarFaction
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