Struct inth_oauth2::token::Expiring
[−]
[src]
pub struct Expiring { /* fields omitted */ }
An expiring token.
Methods
impl Expiring
[src]
Trait Implementations
impl Serialize for Expiring
[src]
fn serialize<S: Serializer>(&self, serializer: &mut S) -> Result<(), S::Error>
Serializes this value into this serializer.
impl Deserialize for Expiring
[src]
fn deserialize<D: Deserializer>(deserializer: &mut D) -> Result<Self, D::Error>
Deserialize this value given this Deserializer
.
impl Debug for Expiring
[src]
impl Clone for Expiring
[src]
fn clone(&self) -> Expiring
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
impl Copy for Expiring
[src]
impl PartialEq for Expiring
[src]
fn eq(&self, __arg_0: &Expiring) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Expiring) -> bool
This method tests for !=
.
impl Eq for Expiring
[src]
impl Lifetime for Expiring
[src]
impl FromResponse for Expiring
[src]
fn from_response(json: &Json) -> Result<Self, ParseError>
Parse a JSON response.
fn from_response_inherit(json: &Json, prev: &Self) -> Result<Self, ParseError>
Parse a JSON response, inheriting missing values from the previous instance. Read more