pub struct DeviceInit {
pub device_code: String,
pub user_code: String,
pub verification_url: String,
pub interval_secs: u64,
}Expand description
The output of ChannelLogin::device_start: the device + user codes and
the URL the operator visits to authorize, plus the poll interval the
provider asked for (seconds).
Fields§
§device_code: String§user_code: String§verification_url: String§interval_secs: u64Auto Trait Implementations§
impl Freeze for DeviceInit
impl RefUnwindSafe for DeviceInit
impl Send for DeviceInit
impl Sync for DeviceInit
impl Unpin for DeviceInit
impl UnsafeUnpin for DeviceInit
impl UnwindSafe for DeviceInit
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