Struct inth_oauth2::token::Expiring [] [src]

pub struct Expiring { /* fields omitted */ }

An expiring token.

Methods

impl Expiring
[src]

Returns the expiry time of the access token.

Trait Implementations

impl Serialize for Expiring
[src]

Serializes this value into this serializer.

impl Deserialize for Expiring
[src]

Deserialize this value given this Deserializer.

impl Debug for Expiring
[src]

Formats the value using the given formatter.

impl Clone for Expiring
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Expiring
[src]

impl PartialEq for Expiring
[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 Expiring
[src]

impl Lifetime for Expiring
[src]

Returns true if the access token is no longer valid.

impl FromResponse for Expiring
[src]

Parse a JSON response.

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

impl Encodable for Expiring
[src]

Serialize a value using an Encoder.

impl Decodable for Expiring
[src]

Deserialize a value using a Decoder.