pub struct ClientboundLoginSuccess {
pub uuid: Uuid,
pub username: String,
pub properties: Vec<ClientboundLoginSuccessProperties>,
}Fields§
§uuid: Uuid§username: String§properties: Vec<ClientboundLoginSuccessProperties>Implementations§
Source§impl ClientboundLoginSuccess
impl ClientboundLoginSuccess
Sourcepub const PACKET_ID: i32 = 2i32
pub const PACKET_ID: i32 = 2i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ClientboundLoginSuccess
impl Clone for ClientboundLoginSuccess
Source§fn clone(&self) -> ClientboundLoginSuccess
fn clone(&self) -> ClientboundLoginSuccess
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 ClientboundLoginSuccess
impl Debug for ClientboundLoginSuccess
Source§impl Default for ClientboundLoginSuccess
impl Default for ClientboundLoginSuccess
Source§fn default() -> ClientboundLoginSuccess
fn default() -> ClientboundLoginSuccess
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundLoginSuccess
impl Encode for ClientboundLoginSuccess
Source§impl EncodedSize for ClientboundLoginSuccess
impl EncodedSize for ClientboundLoginSuccess
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundLoginSuccess
impl PartialEq for ClientboundLoginSuccess
impl StructuralPartialEq for ClientboundLoginSuccess
Auto Trait Implementations§
impl Freeze for ClientboundLoginSuccess
impl RefUnwindSafe for ClientboundLoginSuccess
impl Send for ClientboundLoginSuccess
impl Sync for ClientboundLoginSuccess
impl Unpin for ClientboundLoginSuccess
impl UnsafeUnpin for ClientboundLoginSuccess
impl UnwindSafe for ClientboundLoginSuccess
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