pub struct LoginStartPacket {
pub username: String,
pub uuid: Uuid,
}Expand description
Serverbound login start (packet ID 0x00 in LOGIN state).
Fields§
§username: StringThe player’s username.
uuid: UuidThe player’s UUID (sent by client since 1.19.1).
Trait Implementations§
Source§impl Clone for LoginStartPacket
impl Clone for LoginStartPacket
Source§fn clone(&self) -> LoginStartPacket
fn clone(&self) -> LoginStartPacket
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 LoginStartPacket
impl Debug for LoginStartPacket
Auto Trait Implementations§
impl Freeze for LoginStartPacket
impl RefUnwindSafe for LoginStartPacket
impl Send for LoginStartPacket
impl Sync for LoginStartPacket
impl Unpin for LoginStartPacket
impl UnsafeUnpin for LoginStartPacket
impl UnwindSafe for LoginStartPacket
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