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: u64
Trait 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 Freeze for MinecraftAuthResponse
impl RefUnwindSafe for MinecraftAuthResponse
impl Send for MinecraftAuthResponse
impl Sync for MinecraftAuthResponse
impl Unpin for MinecraftAuthResponse
impl UnwindSafe for MinecraftAuthResponse
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