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