pub struct GameProfile {
pub id: Uuid,
pub name: String,
pub properties: Vec<ProfileProperty>,
}Expand description
A player’s game profile, as returned by the Mojang session server.
Fields§
§id: UuidThe player’s UUID.
name: StringThe player’s username.
properties: Vec<ProfileProperty>Profile properties (e.g., skin textures).
Trait Implementations§
Source§impl Clone for GameProfile
impl Clone for GameProfile
Source§fn clone(&self) -> GameProfile
fn clone(&self) -> GameProfile
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 GameProfile
impl Debug for GameProfile
Source§impl<'de> Deserialize<'de> for GameProfile
impl<'de> Deserialize<'de> for GameProfile
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 GameProfile
impl RefUnwindSafe for GameProfile
impl Send for GameProfile
impl Sync for GameProfile
impl Unpin for GameProfile
impl UnsafeUnpin 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