pub struct DeviceCode {
pub device_code: String,
pub user_code: String,
pub verification_uri: String,
pub message: String,
pub interval_secs: u64,
pub expires_in_secs: u64,
}Expand description
Parsed device-code response the user acts on.
Fields§
§device_code: String§user_code: String§verification_uri: String§message: String§interval_secs: u64§expires_in_secs: u64Trait Implementations§
Source§impl Clone for DeviceCode
impl Clone for DeviceCode
Source§fn clone(&self) -> DeviceCode
fn clone(&self) -> DeviceCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceCode
impl RefUnwindSafe for DeviceCode
impl Send for DeviceCode
impl Sync for DeviceCode
impl Unpin for DeviceCode
impl UnsafeUnpin 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