pub struct DeviceCode {
pub device_code: Secret,
pub user_code: String,
pub verification_uri: String,
pub expires_in: u64,
pub interval: u64,
}Expand description
GitHub’s answer to a device-code request.
Fields§
§device_code: Secret§user_code: String§verification_uri: String§expires_in: u64§interval: u64Trait Implementations§
Source§impl Debug for DeviceCode
impl Debug for DeviceCode
impl Eq for DeviceCode
Source§impl PartialEq for DeviceCode
impl PartialEq for DeviceCode
impl StructuralPartialEq for DeviceCode
Auto Trait Implementations§
impl Forget for DeviceCode
impl Freeze for DeviceCode
impl Move for DeviceCode
impl RefUnwindSafe for DeviceCode
impl Send for DeviceCodewhere
RawVecInner: Send,
impl Sync for DeviceCodewhere
RawVecInner: Sync,
impl Unpin for DeviceCode
impl UnsafeUnpin for DeviceCode
impl UnwindSafe for DeviceCodewhere
RawVecInner: UnwindSafe,
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