pub struct HallOfFamePlayer {
pub rank: u32,
pub name: String,
pub guild: Option<String>,
pub level: u32,
pub honor: u32,
pub class: Class,
pub flag: Option<Flag>,
}Expand description
Basic information about one character on the server. To get more
information, you need to query this player via the ViewPlayer command
Fields§
§rank: u32The rank of this player
name: StringThe name of this player. Used to query more information
guild: Option<String>The guild this player is currently in. If this is None, the player is not in a guild
level: u32The level of this player
honor: u32The amount of fame this player has
class: ClassThe class of this player
flag: Option<Flag>The Flag of this player, if they have set any
Trait Implementations§
Source§impl Clone for HallOfFamePlayer
impl Clone for HallOfFamePlayer
Source§fn clone(&self) -> HallOfFamePlayer
fn clone(&self) -> HallOfFamePlayer
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 HallOfFamePlayer
impl Debug for HallOfFamePlayer
Source§impl Default for HallOfFamePlayer
impl Default for HallOfFamePlayer
Source§fn default() -> HallOfFamePlayer
fn default() -> HallOfFamePlayer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HallOfFamePlayer
impl<'de> Deserialize<'de> for HallOfFamePlayer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HallOfFamePlayer
impl RefUnwindSafe for HallOfFamePlayer
impl Send for HallOfFamePlayer
impl Sync for HallOfFamePlayer
impl Unpin for HallOfFamePlayer
impl UnwindSafe for HallOfFamePlayer
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