pub struct ProfileProperty {
pub name: String,
pub value: String,
pub signature: Option<String>,
}Expand description
A profile property from the Mojang API (typically skin textures).
Sent in the PlayerInfo packet’s add_player action as part of the
game profile. The client uses the textures property to download
and render the player’s skin.
Fields§
§name: StringProperty name (always “textures” for skins).
value: StringBase64-encoded JSON containing the skin/cape URLs.
signature: Option<String>Mojang signature for the property (base64-encoded).
Trait Implementations§
Source§impl Clone for ProfileProperty
impl Clone for ProfileProperty
Source§fn clone(&self) -> ProfileProperty
fn clone(&self) -> ProfileProperty
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 moreAuto Trait Implementations§
impl Freeze for ProfileProperty
impl RefUnwindSafe for ProfileProperty
impl Send for ProfileProperty
impl Sync for ProfileProperty
impl Unpin for ProfileProperty
impl UnsafeUnpin for ProfileProperty
impl UnwindSafe for ProfileProperty
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