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