Struct PlayerKickedEvent
pub struct PlayerKickedEvent<'a> {
pub player: u128,
pub name: &'a str,
pub reason: &'a str,
}Expand description
What Hooks::player_kicked is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§name: &'a str§reason: &'a strAuto Trait Implementations§
impl<'a> Freeze for PlayerKickedEvent<'a>
impl<'a> RefUnwindSafe for PlayerKickedEvent<'a>
impl<'a> Send for PlayerKickedEvent<'a>
impl<'a> Sync for PlayerKickedEvent<'a>
impl<'a> Unpin for PlayerKickedEvent<'a>
impl<'a> UnsafeUnpin for PlayerKickedEvent<'a>
impl<'a> UnwindSafe for PlayerKickedEvent<'a>
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