pub struct LetUserIn {
pub user_name: String,
pub can_enter: bool,
}
Fields§
§user_name: String
§can_enter: bool
Trait Implementations§
Source§impl BaseParser for LetUserIn
impl BaseParser for LetUserIn
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl PacketVariable for LetUserIn
impl PacketVariable for LetUserIn
impl StructuralPartialEq for LetUserIn
Auto Trait Implementations§
impl Freeze for LetUserIn
impl RefUnwindSafe for LetUserIn
impl Send for LetUserIn
impl Sync for LetUserIn
impl Unpin for LetUserIn
impl UnwindSafe for LetUserIn
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