Struct minecraft_essentials::AuthData
source · pub struct AuthData {
pub access_token: String,
pub uuid: String,
pub expires_in: i32,
pub xts_token: Option<String>,
}Expand description
Defines the Authentification Data that you will recive from mojang.
Fields§
§access_token: StringThe bearer token that you recive this is used in Launching, Apis.
uuid: StringNOT THE PLAYERS UUID! This UUID Is Useful for launching.
expires_in: i32The expiry date of the token.
xts_token: Option<String>The xts token that you will be return if bedrockrelm is true.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuthInfo
impl<'de> Deserialize<'de> for AuthInfo
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 AuthInfo
impl PartialEq for AuthInfo
impl Eq for AuthInfo
impl StructuralPartialEq for AuthInfo
Auto Trait Implementations§
impl RefUnwindSafe for AuthInfo
impl Send for AuthInfo
impl Sync for AuthInfo
impl Unpin for AuthInfo
impl UnwindSafe for AuthInfo
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.