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