pub struct PlayerLeave {
pub id: Player,
}Expand description
Packet for when a player leaves.
Fields§
§id: PlayerTrait Implementations§
Source§impl Clone for PlayerLeave
impl Clone for PlayerLeave
Source§fn clone(&self) -> PlayerLeave
fn clone(&self) -> PlayerLeave
Returns a duplicate 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 Debug for PlayerLeave
impl Debug for PlayerLeave
Source§impl<'de> DeserializeV5<'de> for PlayerLeave
impl<'de> DeserializeV5<'de> for PlayerLeave
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<PlayerLeave> for ServerPacket
impl From<PlayerLeave> for ServerPacket
Source§fn from(v: PlayerLeave) -> Self
fn from(v: PlayerLeave) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for PlayerLeave
impl SerializeV5 for PlayerLeave
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for PlayerLeave
Auto Trait Implementations§
impl Freeze for PlayerLeave
impl RefUnwindSafe for PlayerLeave
impl Send for PlayerLeave
impl Sync for PlayerLeave
impl Unpin for PlayerLeave
impl UnwindSafe for PlayerLeave
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