pub struct OnPlayerKickedEvent {
pub by_player: u32,
pub name: &'static str,
pub player_index: u32,
pub reason: &'static str,
pub tick: u32,
}Expand description
Called when a player is kicked.
Fields§
§by_player: u32§name: &'static str§player_index: u32§reason: &'static str§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerKickedEvent
impl Clone for OnPlayerKickedEvent
Source§fn clone(&self) -> OnPlayerKickedEvent
fn clone(&self) -> OnPlayerKickedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnPlayerKickedEvent
Source§impl Debug for OnPlayerKickedEvent
impl Debug for OnPlayerKickedEvent
Source§impl Default for OnPlayerKickedEvent
impl Default for OnPlayerKickedEvent
Source§fn default() -> OnPlayerKickedEvent
fn default() -> OnPlayerKickedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnPlayerKickedEvent
impl PartialEq for OnPlayerKickedEvent
impl StructuralPartialEq for OnPlayerKickedEvent
Auto Trait Implementations§
impl Freeze for OnPlayerKickedEvent
impl RefUnwindSafe for OnPlayerKickedEvent
impl Send for OnPlayerKickedEvent
impl Sync for OnPlayerKickedEvent
impl Unpin for OnPlayerKickedEvent
impl UnsafeUnpin for OnPlayerKickedEvent
impl UnwindSafe for OnPlayerKickedEvent
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