pub struct PlayerHitPlayer {
pub id: Player,
pub health: Health,
pub health_regen: HealthRegen,
}Expand description
Data on a player that has been hit by a shot fired by another player.
Fields§
§id: Player§health: Health§health_regen: HealthRegenTrait Implementations§
Source§impl Clone for PlayerHitPlayer
impl Clone for PlayerHitPlayer
Source§fn clone(&self) -> PlayerHitPlayer
fn clone(&self) -> PlayerHitPlayer
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 PlayerHitPlayer
impl Debug for PlayerHitPlayer
Source§impl<'de> DeserializeV5<'de> for PlayerHitPlayer
impl<'de> DeserializeV5<'de> for PlayerHitPlayer
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl SerializeV5 for PlayerHitPlayer
impl SerializeV5 for PlayerHitPlayer
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for PlayerHitPlayer
Auto Trait Implementations§
impl Freeze for PlayerHitPlayer
impl RefUnwindSafe for PlayerHitPlayer
impl Send for PlayerHitPlayer
impl Sync for PlayerHitPlayer
impl Unpin for PlayerHitPlayer
impl UnwindSafe for PlayerHitPlayer
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