pub struct DeviceCodeResource {
pub device_code: String,
pub user_code: String,
pub verification_url: String,
pub expires_in: u64,
pub interval: u64,
}Fields§
§device_code: String§user_code: String§verification_url: String§expires_in: u64§interval: u64Trait Implementations§
impl ApiResource for DeviceCodeResource
Source§impl Clone for DeviceCodeResource
impl Clone for DeviceCodeResource
Source§fn clone(&self) -> DeviceCodeResource
fn clone(&self) -> DeviceCodeResource
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 moreSource§impl Debug for DeviceCodeResource
impl Debug for DeviceCodeResource
Source§impl<'de> Deserialize<'de> for DeviceCodeResource
impl<'de> Deserialize<'de> for DeviceCodeResource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeviceCodeResource
Source§impl PartialEq for DeviceCodeResource
impl PartialEq for DeviceCodeResource
Source§fn eq(&self, other: &DeviceCodeResource) -> bool
fn eq(&self, other: &DeviceCodeResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeviceCodeResource
impl Serialize for DeviceCodeResource
impl StructuralPartialEq for DeviceCodeResource
Auto Trait Implementations§
impl Freeze for DeviceCodeResource
impl RefUnwindSafe for DeviceCodeResource
impl Send for DeviceCodeResource
impl Sync for DeviceCodeResource
impl Unpin for DeviceCodeResource
impl UnsafeUnpin for DeviceCodeResource
impl UnwindSafe for DeviceCodeResource
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