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