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