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