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 duplicate 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 for RoomInvite
impl PartialEq for RoomInvite
impl StructuralPartialEq for RoomInvite
Auto Trait Implementations§
impl Freeze for RoomInvite
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