Struct bancho_packets::server::Notification
source · pub struct Notification<'a> {
pub msg: CowStr<'a>,
}Expand description
#24: BANCHO_NOTIFICATION
Fields§
§msg: CowStr<'a>Implementations§
Trait Implementations§
source§impl<'a> BanchoPacket for Notification<'a>
impl<'a> BanchoPacket for Notification<'a>
source§impl<'a> BanchoPacketLength for Notification<'a>
impl<'a> BanchoPacketLength for Notification<'a>
source§impl<'a> Clone for Notification<'a>
impl<'a> Clone for Notification<'a>
source§fn clone(&self) -> Notification<'a>
fn clone(&self) -> Notification<'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