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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Auto Trait Implementations§
impl<'a> Freeze for MatchInvite<'a>
impl<'a> RefUnwindSafe for MatchInvite<'a>
impl<'a> Send for MatchInvite<'a>
impl<'a> Sync for MatchInvite<'a>
impl<'a> Unpin for MatchInvite<'a>
impl<'a> UnsafeUnpin for MatchInvite<'a>
impl<'a> UnwindSafe for MatchInvite<'a>
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