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