Struct airmash_protocol::server::PlayerLevel [−][src]
pub struct PlayerLevel {
pub id: Player,
pub ty: PlayerLevelType,
pub level: Level,
}Assign a level to a player. Either the player levelled up, or the server is updating their level for all clients.
Fields
id: Player
ty: PlayerLevelType
level: Level
Trait Implementations
impl Copy for PlayerLevel[src]
impl Copy for PlayerLevelimpl Clone for PlayerLevel[src]
impl Clone for PlayerLevelfn clone(&self) -> PlayerLevel[src]
fn clone(&self) -> PlayerLevelReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for PlayerLevel[src]
impl Debug for PlayerLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerLevel> for ServerPacket[src]
impl From<PlayerLevel> for ServerPacketfn from(v: PlayerLevel) -> Self[src]
fn from(v: PlayerLevel) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for PlayerLevel
impl Send for PlayerLevelimpl Sync for PlayerLevel
impl Sync for PlayerLevel