pub struct UserRights {
pub club_level: i32,
pub security_level: i32,
pub is_ambassador: bool,
}
Fields§
§club_level: i32
§security_level: i32
§is_ambassador: bool
Trait Implementations§
Source§impl BaseParser for UserRights
impl BaseParser for UserRights
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 UserRights
impl Clone for UserRights
Source§fn clone(&self) -> UserRights
fn clone(&self) -> UserRights
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 UserRights
impl Debug for UserRights
Source§impl Default for UserRights
impl Default for UserRights
Source§fn default() -> UserRights
fn default() -> UserRights
Returns the “default value” for a type. Read more
Source§impl PacketVariable for UserRights
impl PacketVariable for UserRights
Source§impl PartialEq for UserRights
impl PartialEq for UserRights
impl StructuralPartialEq for UserRights
Auto Trait Implementations§
impl Freeze for UserRights
impl RefUnwindSafe for UserRights
impl Send for UserRights
impl Sync for UserRights
impl Unpin for UserRights
impl UnwindSafe for UserRights
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