pub struct MinecraftAuthResponse {
pub username: String,
pub roles: Vec<String>,
pub access_token: String,
pub token_type: String,
pub expires_in: u64,
}Fields§
§username: String§roles: Vec<String>§access_token: String§token_type: String§expires_in: u64Trait Implementations§
Source§impl Debug for MinecraftAuthResponse
impl Debug for MinecraftAuthResponse
Source§impl<'de> Deserialize<'de> for MinecraftAuthResponse
impl<'de> Deserialize<'de> for MinecraftAuthResponse
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 Forget for MinecraftAuthResponse
impl Freeze for MinecraftAuthResponse
impl Move for MinecraftAuthResponse
impl RefUnwindSafe for MinecraftAuthResponse
impl Send for MinecraftAuthResponsewhere
RawVecInner: Send,
impl Sync for MinecraftAuthResponsewhere
RawVecInner: Sync,
impl Unpin for MinecraftAuthResponse
impl UnsafeUnpin for MinecraftAuthResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MinecraftAuthResponsewhere
RawVecInner: UnwindSafe,
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