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