pub struct LoginPluginResponsePacket {
pub message_id: i32,
pub successful: bool,
pub data: Bytes,
}Expand description
Serverbound login plugin response (packet ID 0x02 in LOGIN state).
Fields§
§message_id: i32Message ID matching the request.
successful: boolWhether the client understood the request.
data: BytesResponse payload (only meaningful if successful).
Trait Implementations§
Source§impl Clone for LoginPluginResponsePacket
impl Clone for LoginPluginResponsePacket
Source§fn clone(&self) -> LoginPluginResponsePacket
fn clone(&self) -> LoginPluginResponsePacket
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 LoginPluginResponsePacket
impl Debug for LoginPluginResponsePacket
Auto Trait Implementations§
impl !Freeze for LoginPluginResponsePacket
impl RefUnwindSafe for LoginPluginResponsePacket
impl Send for LoginPluginResponsePacket
impl Sync for LoginPluginResponsePacket
impl Unpin for LoginPluginResponsePacket
impl UnsafeUnpin for LoginPluginResponsePacket
impl UnwindSafe for LoginPluginResponsePacket
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