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