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