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 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 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<UserRights> for UserRights
impl PartialEq<UserRights> for UserRights
source§fn eq(&self, other: &UserRights) -> bool
fn eq(&self, other: &UserRights) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserRights
Auto Trait Implementations§
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