pub struct GameProfile {
pub uuid: Uuid,
pub name: String,
pub properties: HashMap<String, ProfilePropertyValue>,
}
Fields§
§uuid: Uuid
The UUID of the player.
name: String
The username of the player.
properties: HashMap<String, ProfilePropertyValue>
Implementations§
Trait Implementations§
Source§impl Clone for GameProfile
impl Clone for GameProfile
Source§fn clone(&self) -> GameProfile
fn clone(&self) -> GameProfile
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 moreSource§impl Debug for GameProfile
impl Debug for GameProfile
Source§impl Default for GameProfile
impl Default for GameProfile
Source§fn default() -> GameProfile
fn default() -> GameProfile
Returns the “default value” for a type. Read more
Source§impl From<GameProfile> for SerializableGameProfile
impl From<GameProfile> for SerializableGameProfile
Source§fn from(value: GameProfile) -> Self
fn from(value: GameProfile) -> Self
Converts to this type from the input type.
Source§impl From<SerializableGameProfile> for GameProfile
impl From<SerializableGameProfile> for GameProfile
Source§fn from(value: SerializableGameProfile) -> Self
fn from(value: SerializableGameProfile) -> Self
Converts to this type from the input type.
Source§impl McBufReadable for GameProfile
impl McBufReadable for GameProfile
Source§impl McBufWritable for GameProfile
impl McBufWritable for GameProfile
Source§impl PartialEq for GameProfile
impl PartialEq for GameProfile
impl Eq for GameProfile
impl StructuralPartialEq for GameProfile
Auto Trait Implementations§
impl Freeze for GameProfile
impl RefUnwindSafe for GameProfile
impl Send for GameProfile
impl Sync for GameProfile
impl Unpin for GameProfile
impl UnwindSafe for GameProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.