pub struct ModBan {
pub user_id: LegacyId,
pub message: String,
pub topic_id: i32,
pub sanction_type_id: i32,
pub is_perm_ban: bool,
pub issue_id: LegacyId,
}
Fields§
§user_id: LegacyId
§message: String
§topic_id: i32
§sanction_type_id: i32
§is_perm_ban: bool
§issue_id: LegacyId
Trait Implementations§
Source§impl BaseParser for ModBan
impl BaseParser for ModBan
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 PacketVariable for ModBan
impl PacketVariable for ModBan
impl StructuralPartialEq for ModBan
Auto Trait Implementations§
impl Freeze for ModBan
impl RefUnwindSafe for ModBan
impl Send for ModBan
impl Sync for ModBan
impl Unpin for ModBan
impl UnwindSafe for ModBan
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