pub struct LoginPluginRequestPacket {
pub message_id: i32,
pub channel: String,
pub data: Bytes,
}Expand description
Clientbound login plugin message (packet ID 0x04 in LOGIN state). Used by Velocity’s modern forwarding protocol.
Fields§
§message_id: i32Message ID for correlating request/response.
channel: StringChannel identifier (e.g., “velocity:player_info”).
data: BytesPlugin-specific payload data.
Trait Implementations§
Source§impl Clone for LoginPluginRequestPacket
impl Clone for LoginPluginRequestPacket
Source§fn clone(&self) -> LoginPluginRequestPacket
fn clone(&self) -> LoginPluginRequestPacket
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 LoginPluginRequestPacket
impl Debug for LoginPluginRequestPacket
Auto Trait Implementations§
impl !Freeze for LoginPluginRequestPacket
impl RefUnwindSafe for LoginPluginRequestPacket
impl Send for LoginPluginRequestPacket
impl Sync for LoginPluginRequestPacket
impl Unpin for LoginPluginRequestPacket
impl UnsafeUnpin for LoginPluginRequestPacket
impl UnwindSafe for LoginPluginRequestPacket
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