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