pub struct ProfileProperty {
pub name: String,
pub value: String,
pub signature: String,
}Expand description
Represents a profile property returned in the server authentication request.
The most common profile property is called “textures” and contains the skin of the player.
Note that both value and signature are base64-encoded
strings.
Fields§
§name: StringThe name of this profile property.
value: StringThe base64-encoded value of this profile property.
signature: StringThe signature of this profile property, signed with Yggdrasil’s private key.
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 moreSource§impl Debug for ProfileProperty
impl Debug for ProfileProperty
Source§impl<'de> Deserialize<'de> for ProfileProperty
impl<'de> Deserialize<'de> for ProfileProperty
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
Source§impl PartialEq for ProfileProperty
impl PartialEq for ProfileProperty
Source§impl Serialize for ProfileProperty
impl Serialize for ProfileProperty
impl Eq for ProfileProperty
impl StructuralPartialEq for ProfileProperty
Auto Trait Implementations§
impl Freeze for ProfileProperty
impl RefUnwindSafe for ProfileProperty
impl Send for ProfileProperty
impl Sync for ProfileProperty
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.