Struct fast_server::player::PlayerInformation
source · pub struct PlayerInformation {
pub locale: String,
pub view_distance: u8,
pub chat_mode: ChatMode,
pub chat_colors: bool,
pub displayed_skin_parts: u8,
pub main_hand: MainHand,
pub text_filtering: bool,
pub in_server_listing: bool,
}Expand description
Player information
Fields§
§locale: Stringlanguage that the player uses
view_distance: u8view distance of the user
chat_mode: ChatModechat mode that the player uses
chat_colors: boolwhether the player wants chat colors or not
displayed_skin_parts: u8mask of the displayed skin parts
main_hand: MainHandmain hand of the player
text_filtering: boolwhether the player wants to have text filtering or not
in_server_listing: boolwhether the player wants to appear in the server list or not
Trait Implementations§
source§impl Clone for PlayerInformation
impl Clone for PlayerInformation
source§fn clone(&self) -> PlayerInformation
fn clone(&self) -> PlayerInformation
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 moreAuto Trait Implementations§
impl Freeze for PlayerInformation
impl RefUnwindSafe for PlayerInformation
impl Send for PlayerInformation
impl Sync for PlayerInformation
impl Unpin for PlayerInformation
impl UnwindSafe for PlayerInformation
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