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