pub struct PlayerJoinEvent {
pub player_name: String,
pub uuid: String,
}Expand description
Fired when a player joins the server.
Fields§
§player_name: String§uuid: StringPlayer UUID as a string, e.g. 069a79f4-44e9-4726-a5be-fca90e38aaf5.
Trait Implementations§
Source§impl Clone for PlayerJoinEvent
impl Clone for PlayerJoinEvent
Source§fn clone(&self) -> PlayerJoinEvent
fn clone(&self) -> PlayerJoinEvent
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 moreAuto Trait Implementations§
impl Freeze for PlayerJoinEvent
impl RefUnwindSafe for PlayerJoinEvent
impl Send for PlayerJoinEvent
impl Sync for PlayerJoinEvent
impl Unpin for PlayerJoinEvent
impl UnsafeUnpin for PlayerJoinEvent
impl UnwindSafe for PlayerJoinEvent
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