pub struct FactionTerritoryWarParticipant {
pub id: FactionId,
pub name: String,
pub score: i32,
pub chain: i32,
pub is_aggressor: bool,
pub player_ids: Vec<UserId>,
}
Fields§
§id: FactionId
§name: String
§score: i32
§chain: i32
Faction’s current chain.
is_aggressor: bool
§player_ids: Vec<UserId>
Trait Implementations§
Source§impl Clone for FactionTerritoryWarParticipant
impl Clone for FactionTerritoryWarParticipant
Source§fn clone(&self) -> FactionTerritoryWarParticipant
fn clone(&self) -> FactionTerritoryWarParticipant
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for FactionTerritoryWarParticipant
impl<'de> Deserialize<'de> for FactionTerritoryWarParticipant
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
Source§impl PartialEq for FactionTerritoryWarParticipant
impl PartialEq for FactionTerritoryWarParticipant
Source§fn eq(&self, other: &FactionTerritoryWarParticipant) -> bool
fn eq(&self, other: &FactionTerritoryWarParticipant) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FactionTerritoryWarParticipant
Auto Trait Implementations§
impl Freeze for FactionTerritoryWarParticipant
impl RefUnwindSafe for FactionTerritoryWarParticipant
impl Send for FactionTerritoryWarParticipant
impl Sync for FactionTerritoryWarParticipant
impl Unpin for FactionTerritoryWarParticipant
impl UnwindSafe for FactionTerritoryWarParticipant
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