Struct yup_oauth2::PollInformation
[−]
[src]
pub struct PollInformation { pub user_code: String, pub verification_url: String, pub expires_at: DateTime<UTC>, pub interval: Duration, }
Contains state of pending authentication requests
Fields
user_code: String
Code the user must enter ...
verification_url: String
... at the verification URL
expires_at: DateTime<UTC>
The user_code
expires at the given time
It's the time the user has left to authenticate your application
interval: Duration
The interval in which we may poll for a status change The server responds with errors of we poll too fast.
Trait Implementations
impl PartialEq for PollInformation
[src]
fn eq(&self, __arg_0: &PollInformation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PollInformation) -> bool
This method tests for !=
.
impl Debug for PollInformation
[src]
impl Clone for PollInformation
[src]
fn clone(&self) -> PollInformation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more