pub struct GetGuestRoom {
pub room_id: LegacyId,
pub entering_room: i32,
pub go_to_room: i32,
}
Fields§
§room_id: LegacyId
§entering_room: i32
§go_to_room: i32
Trait Implementations§
source§impl BaseParser for GetGuestRoom
impl BaseParser for GetGuestRoom
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 Clone for GetGuestRoom
impl Clone for GetGuestRoom
source§fn clone(&self) -> GetGuestRoom
fn clone(&self) -> GetGuestRoom
Returns a copy 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 GetGuestRoom
impl Debug for GetGuestRoom
source§impl Default for GetGuestRoom
impl Default for GetGuestRoom
source§fn default() -> GetGuestRoom
fn default() -> GetGuestRoom
Returns the “default value” for a type. Read more
source§impl PacketVariable for GetGuestRoom
impl PacketVariable for GetGuestRoom
source§impl PartialEq<GetGuestRoom> for GetGuestRoom
impl PartialEq<GetGuestRoom> for GetGuestRoom
source§fn eq(&self, other: &GetGuestRoom) -> bool
fn eq(&self, other: &GetGuestRoom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetGuestRoom
Auto Trait Implementations§
impl RefUnwindSafe for GetGuestRoom
impl Send for GetGuestRoom
impl Sync for GetGuestRoom
impl Unpin for GetGuestRoom
impl UnwindSafe for GetGuestRoom
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