pub struct DeviceAuthorization {
pub user_code: String,
pub device_code: String,
pub verification_uri: String,
pub verification_uri_complete: String,
pub expires_in: Option<u64>,
pub interval: u64,
}Fields§
§user_code: String§device_code: String§verification_uri: String§verification_uri_complete: String§expires_in: Option<u64>§interval: u64Trait Implementations§
Source§impl Clone for DeviceAuthorization
impl Clone for DeviceAuthorization
Source§fn clone(&self) -> DeviceAuthorization
fn clone(&self) -> DeviceAuthorization
Returns a duplicate of the value. Read more
1.0.0 · 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 DeviceAuthorization
impl RefUnwindSafe for DeviceAuthorization
impl Send for DeviceAuthorization
impl Sync for DeviceAuthorization
impl Unpin for DeviceAuthorization
impl UnsafeUnpin for DeviceAuthorization
impl UnwindSafe for DeviceAuthorization
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