pub struct AttackPlayerFaction {
pub id: FactionId,
pub name: String,
}
Fields§
§id: FactionId
§name: String
Trait Implementations§
Source§impl Clone for AttackPlayerFaction
impl Clone for AttackPlayerFaction
Source§fn clone(&self) -> AttackPlayerFaction
fn clone(&self) -> AttackPlayerFaction
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 Debug for AttackPlayerFaction
impl Debug for AttackPlayerFaction
Source§impl<'de> Deserialize<'de> for AttackPlayerFaction
impl<'de> Deserialize<'de> for AttackPlayerFaction
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 AttackPlayerFaction
impl PartialEq for AttackPlayerFaction
impl StructuralPartialEq for AttackPlayerFaction
Auto Trait Implementations§
impl Freeze for AttackPlayerFaction
impl RefUnwindSafe for AttackPlayerFaction
impl Send for AttackPlayerFaction
impl Sync for AttackPlayerFaction
impl Unpin for AttackPlayerFaction
impl UnwindSafe for AttackPlayerFaction
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