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