pub struct DeviceStartOut {
pub expires_at: Option<String>,
pub flow: Option<String>,
pub interval: Option<i32>,
pub user_code: Option<String>,
pub verify_url: Option<String>,
}Fields§
§expires_at: Option<String>ExpiresAt is when the flow dies, RFC 3339 UTC.
flow: Option<String>Flow is the id to poll with.
interval: Option<i32>Interval is the seconds to wait between polls.
user_code: Option<String>UserCode is the short code the user types at VerifyURL.
verify_url: Option<String>VerifyURL is the page the user opens to enter UserCode.
Implementations§
Source§impl DeviceStartOut
impl DeviceStartOut
pub fn new() -> DeviceStartOut
Trait Implementations§
Source§impl Clone for DeviceStartOut
impl Clone for DeviceStartOut
Source§fn clone(&self) -> DeviceStartOut
fn clone(&self) -> DeviceStartOut
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 DeviceStartOut
impl Debug for DeviceStartOut
Source§impl Default for DeviceStartOut
impl Default for DeviceStartOut
Source§fn default() -> DeviceStartOut
fn default() -> DeviceStartOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceStartOut
impl<'de> Deserialize<'de> for DeviceStartOut
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
Source§impl PartialEq for DeviceStartOut
impl PartialEq for DeviceStartOut
Source§impl Serialize for DeviceStartOut
impl Serialize for DeviceStartOut
impl StructuralPartialEq for DeviceStartOut
Auto Trait Implementations§
impl Freeze for DeviceStartOut
impl RefUnwindSafe for DeviceStartOut
impl Send for DeviceStartOut
impl Sync for DeviceStartOut
impl Unpin for DeviceStartOut
impl UnsafeUnpin for DeviceStartOut
impl UnwindSafe for DeviceStartOut
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