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

Code the user must enter ...

... at the verification URL

The user_code expires at the given time It's the time the user has left to authenticate your application

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]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for PollInformation
[src]

Formats the value using the given formatter.

impl Clone for PollInformation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for PollInformation
[src]

Formats the value using the given formatter.