[][src]Struct mojang_api::ServerAuthProperty

pub struct ServerAuthProperty {
    pub name: String,
    pub value: String,
    pub signature: String,
}

A property, as returned by the session server during authentication. Typically, a "textures" property is received in the authentication response which contains base64-encoded JSON data. See wiki.vg for more information.

Fields

name: String

The name of the property.

value: String

The value of the property. In the case of the "textures" property, this is sent as a base64-encoded JSON dictionary containing the skin's URL/

signature: String

The property's signature as signed by Yggdrasil's private key. This is used by the client to ensure validity of the data.

Trait Implementations

impl Clone for ServerAuthProperty[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<ServerAuthProperty> for ServerAuthProperty[src]

impl Eq for ServerAuthProperty[src]

impl Debug for ServerAuthProperty[src]

impl<'de> Deserialize<'de> for ServerAuthProperty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err