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 duplicate 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 for PetInventory
impl PartialEq for PetInventory
impl StructuralPartialEq for PetInventory
Auto Trait Implementations§
impl Freeze for PetInventory
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