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