Struct minecraft_essentials::DeviceCode
source · pub struct DeviceCode {
pub url: String,
pub message: String,
pub expires_in: u32,
pub user_code: String,
pub device_code: String,
/* private fields */
}Expand description
Minecraft Device Code Authentification Method.
Fields§
§url: StringReturns the url
message: StringReturns the instuctions
expires_in: u32Provides expires
user_code: StringThe code you give to the user
device_code: StringDevice code for the Code:authenticate_device Proccess
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DeviceCode
impl Send for DeviceCode
impl Sync for DeviceCode
impl Unpin for DeviceCode
impl UnwindSafe for DeviceCode
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