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