pub struct LoginPluginResponse {
pub message_id: i32,
pub success: bool,
pub data: Vec<u8>,
}Fields§
§message_id: i32§success: bool§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Debug for LoginPluginResponse
impl Debug for LoginPluginResponse
Source§impl Packet for LoginPluginResponse
impl Packet for LoginPluginResponse
const ID: i32 = 2i32
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 LoginPluginResponse
impl RefUnwindSafe for LoginPluginResponse
impl Send for LoginPluginResponse
impl Sync for LoginPluginResponse
impl Unpin for LoginPluginResponse
impl UnwindSafe for LoginPluginResponse
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