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