pub struct LoginPluginRequest {
pub message_id: i32,
pub channel: String,
pub data: Vec<u8>,
}Fields§
§message_id: i32§channel: String§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Debug for LoginPluginRequest
impl Debug for LoginPluginRequest
Source§impl Packet for LoginPluginRequest
impl Packet for LoginPluginRequest
const ID: i32 = 4i32
Source§fn to_bytes(&self) -> Vec<u8> ⓘ
fn to_bytes(&self) -> Vec<u8> ⓘ
Serializes the packet to a Vec<u8> in accordance with the minecraft protocol so that it can be sent via the network. Read more
Source§fn from_reader(reader: &mut PacketReader) -> Result<Self, Errors>
fn from_reader(reader: &mut PacketReader) -> Result<Self, Errors>
Allows the reading of packets from a PacketReader. Read more
Auto Trait Implementations§
impl Freeze for LoginPluginRequest
impl RefUnwindSafe for LoginPluginRequest
impl Send for LoginPluginRequest
impl Sync for LoginPluginRequest
impl Unpin for LoginPluginRequest
impl UnwindSafe for LoginPluginRequest
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