pub struct UserObject {Show 14 fields
pub id: LegacyId,
pub name: String,
pub figure: String,
pub sex: String,
pub custom_data: String,
pub real_name: String,
pub direct_mail: bool,
pub respect_total: i32,
pub respect_left: i32,
pub pet_respect_left: i32,
pub stream_publishing_allowed: bool,
pub last_access_date: String,
pub name_change_allowed: bool,
pub account_safety_locked: bool,
}
Fields§
§id: LegacyId
§name: String
§figure: String
§sex: String
§custom_data: String
§real_name: String
§direct_mail: bool
§respect_total: i32
§respect_left: i32
§pet_respect_left: i32
§stream_publishing_allowed: bool
§last_access_date: String
§name_change_allowed: bool
§account_safety_locked: bool
Trait Implementations§
Source§impl BaseParser for UserObject
impl BaseParser for UserObject
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 UserObject
impl Clone for UserObject
Source§fn clone(&self) -> UserObject
fn clone(&self) -> UserObject
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 UserObject
impl Debug for UserObject
Source§impl Default for UserObject
impl Default for UserObject
Source§fn default() -> UserObject
fn default() -> UserObject
Returns the “default value” for a type. Read more
Source§impl PacketVariable for UserObject
impl PacketVariable for UserObject
Source§impl PartialEq for UserObject
impl PartialEq for UserObject
impl StructuralPartialEq for UserObject
Auto Trait Implementations§
impl Freeze for UserObject
impl RefUnwindSafe for UserObject
impl Send for UserObject
impl Sync for UserObject
impl Unpin for UserObject
impl UnwindSafe for UserObject
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