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