Struct inth_oauth2::token::Refresh [] [src]

pub struct Refresh { /* fields omitted */ }

An expiring token which can be refreshed.

Methods

impl Refresh
[src]

Returns the refresh token.

See RFC 6749, section 1.5.

Returns the expiry time of the access token.

Trait Implementations

impl Serialize for Refresh
[src]

Serializes this value into this serializer.

impl Deserialize for Refresh
[src]

Deserialize this value given this Deserializer.

impl Debug for Refresh
[src]

Formats the value using the given formatter.

impl Clone for Refresh
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Refresh
[src]

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

This method tests for !=.

impl Eq for Refresh
[src]

impl Lifetime for Refresh
[src]

Returns true if the access token is no longer valid.

impl FromResponse for Refresh
[src]

Parse a JSON response.

Parse a JSON response, inheriting missing values from the previous instance. Read more

impl Encodable for Refresh
[src]

Serialize a value using an Encoder.

impl Decodable for Refresh
[src]

Deserialize a value using a Decoder.