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