Struct bancho_packets::server::SendMessage
source · pub struct SendMessage<'a> {
pub sender: CowStr<'a>,
pub content: CowStr<'a>,
pub target: CowStr<'a>,
pub sender_id: i32,
}Expand description
#7: BANCHO_SEND_MESSAGE
Fields§
§sender: CowStr<'a>§content: CowStr<'a>§target: CowStr<'a>§sender_id: i32Implementations§
Trait Implementations§
source§impl<'a> BanchoPacket for SendMessage<'a>
impl<'a> BanchoPacket for SendMessage<'a>
source§impl<'a> BanchoPacketLength for SendMessage<'a>
impl<'a> BanchoPacketLength for SendMessage<'a>
source§impl<'a> Clone for SendMessage<'a>
impl<'a> Clone for SendMessage<'a>
source§fn clone(&self) -> SendMessage<'a>
fn clone(&self) -> SendMessage<'a>
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 more