pub struct DeviceCodeInfo {
pub user_code: String,
pub verification_uri: String,
pub interval_seconds: Option<u32>,
pub expires_in_seconds: Option<u32>,
}Expand description
Info passed to on_device_code callback.
Fields§
§user_code: String§verification_uri: String§interval_seconds: Option<u32>§expires_in_seconds: Option<u32>Trait Implementations§
Source§impl Clone for DeviceCodeInfo
impl Clone for DeviceCodeInfo
Source§fn clone(&self) -> DeviceCodeInfo
fn clone(&self) -> DeviceCodeInfo
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 DeviceCodeInfo
impl RefUnwindSafe for DeviceCodeInfo
impl Send for DeviceCodeInfo
impl Sync for DeviceCodeInfo
impl Unpin for DeviceCodeInfo
impl UnsafeUnpin for DeviceCodeInfo
impl UnwindSafe for DeviceCodeInfo
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