pub struct PetReceived {
pub bought_as_gift: bool,
pub pet: PetData,
}
Fields§
§bought_as_gift: bool
§pet: PetData
Trait Implementations§
Source§impl BaseParser for PetReceived
impl BaseParser for PetReceived
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 PetReceived
impl Clone for PetReceived
Source§fn clone(&self) -> PetReceived
fn clone(&self) -> PetReceived
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 PetReceived
impl Debug for PetReceived
Source§impl Default for PetReceived
impl Default for PetReceived
Source§fn default() -> PetReceived
fn default() -> PetReceived
Returns the “default value” for a type. Read more
Source§impl PacketVariable for PetReceived
impl PacketVariable for PetReceived
Source§impl PartialEq for PetReceived
impl PartialEq for PetReceived
impl StructuralPartialEq for PetReceived
Auto Trait Implementations§
impl Freeze for PetReceived
impl RefUnwindSafe for PetReceived
impl Send for PetReceived
impl Sync for PetReceived
impl Unpin for PetReceived
impl UnwindSafe for PetReceived
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