Struct bancho_packets::server::ChangeUsername
source · pub struct ChangeUsername<'a> {
pub username_old: CowStr<'a>,
pub username_new: CowStr<'a>,
}Expand description
#9: BANCHO_HANDLE_IRC_CHANGE_USERNAME
Fields§
§username_old: CowStr<'a>§username_new: CowStr<'a>Implementations§
Trait Implementations§
source§impl<'a> BanchoPacket for ChangeUsername<'a>
impl<'a> BanchoPacket for ChangeUsername<'a>
source§impl<'a> BanchoPacketLength for ChangeUsername<'a>
impl<'a> BanchoPacketLength for ChangeUsername<'a>
source§impl<'a> Clone for ChangeUsername<'a>
impl<'a> Clone for ChangeUsername<'a>
source§fn clone(&self) -> ChangeUsername<'a>
fn clone(&self) -> ChangeUsername<'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 moresource§impl<'a> Debug for ChangeUsername<'a>
impl<'a> Debug for ChangeUsername<'a>
source§impl<'a> Default for ChangeUsername<'a>
impl<'a> Default for ChangeUsername<'a>
source§fn default() -> ChangeUsername<'a>
fn default() -> ChangeUsername<'a>
Returns the “default value” for a type. Read more