Struct bancho_packets::server::MatchInvite
source · pub struct MatchInvite<'a> {
pub welcome: CowStr<'a>,
pub match_id: i32,
pub match_password: Option<CowStr<'a>>,
}Expand description
#88: BANCHO_MATCH_INVITE
Fields§
§welcome: CowStr<'a>§match_id: i32§match_password: Option<CowStr<'a>>Implementations§
Trait Implementations§
source§impl<'a> BanchoPacket for MatchInvite<'a>
impl<'a> BanchoPacket for MatchInvite<'a>
source§impl<'a> BanchoPacketLength for MatchInvite<'a>
impl<'a> BanchoPacketLength for MatchInvite<'a>
source§impl<'a> Clone for MatchInvite<'a>
impl<'a> Clone for MatchInvite<'a>
source§fn clone(&self) -> MatchInvite<'a>
fn clone(&self) -> MatchInvite<'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 MatchInvite<'a>
impl<'a> Debug for MatchInvite<'a>
source§impl<'a> Default for MatchInvite<'a>
impl<'a> Default for MatchInvite<'a>
source§fn default() -> MatchInvite<'a>
fn default() -> MatchInvite<'a>
Returns the “default value” for a type. Read more