pub struct FactionTerritoryWarOngoingFaction {
pub id: FactionId,
pub name: String,
pub score: i32,
pub is_aggressor: bool,
pub chain: i32,
pub player_ids: Vec<UserId>,
}
Fields§
§id: FactionId
§name: String
§score: i32
§is_aggressor: bool
§chain: i32
§player_ids: Vec<UserId>
Trait Implementations§
Source§impl Clone for FactionTerritoryWarOngoingFaction
impl Clone for FactionTerritoryWarOngoingFaction
Source§fn clone(&self) -> FactionTerritoryWarOngoingFaction
fn clone(&self) -> FactionTerritoryWarOngoingFaction
Returns a copy 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<'de> Deserialize<'de> for FactionTerritoryWarOngoingFaction
impl<'de> Deserialize<'de> for FactionTerritoryWarOngoingFaction
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 FactionTerritoryWarOngoingFaction
impl PartialEq for FactionTerritoryWarOngoingFaction
Source§fn eq(&self, other: &FactionTerritoryWarOngoingFaction) -> bool
fn eq(&self, other: &FactionTerritoryWarOngoingFaction) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FactionTerritoryWarOngoingFaction
Auto Trait Implementations§
impl Freeze for FactionTerritoryWarOngoingFaction
impl RefUnwindSafe for FactionTerritoryWarOngoingFaction
impl Send for FactionTerritoryWarOngoingFaction
impl Sync for FactionTerritoryWarOngoingFaction
impl Unpin for FactionTerritoryWarOngoingFaction
impl UnwindSafe for FactionTerritoryWarOngoingFaction
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