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