pub struct PVPKillEvent {
pub combat_rank: CombatRank,
pub victim: String,
}
Expand description
Fired when the player kills another player in combat.
Fields§
§combat_rank: CombatRank
The combat rank of the killed player.
victim: String
The name of the killed player.
Trait Implementations§
Source§impl Clone for PVPKillEvent
impl Clone for PVPKillEvent
Source§fn clone(&self) -> PVPKillEvent
fn clone(&self) -> PVPKillEvent
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 PVPKillEvent
impl Debug for PVPKillEvent
Source§impl<'de> Deserialize<'de> for PVPKillEvent
impl<'de> Deserialize<'de> for PVPKillEvent
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 PVPKillEvent
impl PartialEq for PVPKillEvent
Source§impl Serialize for PVPKillEvent
impl Serialize for PVPKillEvent
impl StructuralPartialEq for PVPKillEvent
Auto Trait Implementations§
impl Freeze for PVPKillEvent
impl RefUnwindSafe for PVPKillEvent
impl Send for PVPKillEvent
impl Sync for PVPKillEvent
impl Unpin for PVPKillEvent
impl UnwindSafe for PVPKillEvent
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