pub struct CachedAccount {
pub email: String,
pub msa: ExpiringValue<AccessTokenResponse>,
pub xbl: ExpiringValue<XboxLiveAuth>,
pub mca: ExpiringValue<MinecraftAuthResponse>,
pub profile: ProfileResponse,
}
Fields§
§email: String
§msa: ExpiringValue<AccessTokenResponse>
Microsoft auth
xbl: ExpiringValue<XboxLiveAuth>
Xbox Live auth
mca: ExpiringValue<MinecraftAuthResponse>
Minecraft auth
profile: ProfileResponse
The user’s Minecraft profile (i.e. username, UUID, skin)
Trait Implementations§
Source§impl Debug for CachedAccount
impl Debug for CachedAccount
Source§impl<'de> Deserialize<'de> for CachedAccount
impl<'de> Deserialize<'de> for CachedAccount
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
Auto Trait Implementations§
impl Freeze for CachedAccount
impl RefUnwindSafe for CachedAccount
impl Send for CachedAccount
impl Sync for CachedAccount
impl Unpin for CachedAccount
impl UnwindSafe for CachedAccount
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