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