pub struct ResolvableProfile {
pub name: Option<String>,
pub id: Option<Uuid>,
pub properties: Vec<ProfileProperty>,
}Expand description
Represents a Player’s Game Profile (Skin/UUID).
Fields§
§name: Option<String>The player’s username.
id: Option<Uuid>The player’s UUID.
properties: Vec<ProfileProperty>Properties, primarily the “textures” property containing the skin URL.
Trait Implementations§
Source§impl Clone for ResolvableProfile
impl Clone for ResolvableProfile
Source§fn clone(&self) -> ResolvableProfile
fn clone(&self) -> ResolvableProfile
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 ResolvableProfile
impl Debug for ResolvableProfile
Source§impl<'a> Decode<'a> for ResolvableProfile
impl<'a> Decode<'a> for ResolvableProfile
Source§impl Encode for ResolvableProfile
impl Encode for ResolvableProfile
Source§impl PartialEq for ResolvableProfile
impl PartialEq for ResolvableProfile
impl StructuralPartialEq for ResolvableProfile
Auto Trait Implementations§
impl Freeze for ResolvableProfile
impl RefUnwindSafe for ResolvableProfile
impl Send for ResolvableProfile
impl Sync for ResolvableProfile
impl Unpin for ResolvableProfile
impl UnwindSafe for ResolvableProfile
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