Struct inth_oauth2::token::Static [] [src]

pub struct Static;

A static, non-expiring token.

Trait Implementations

impl Serialize for Static

fn serialize<S: Serializer>(&self, serializer: &mut S) -> Result<(), S::Error>

impl Deserialize for Static

fn deserialize<D: Deserializer>(deserializer: &mut D) -> Result<Self, D::Error>

impl Lifetime for Static

fn expired(&self) -> bool

impl FromResponse for Static

fn from_response(json: &Json) -> Result<Self, ParseError>

fn from_response_inherit(json: &Json, prev: &Self) -> Result<Self, ParseError>

Derived Implementations

impl Decodable for Static

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Static, __D::Error>

impl Encodable for Static

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for Static

impl PartialEq for Static

fn eq(&self, __arg_0: &Static) -> bool

fn ne(&self, __arg_0: &Static) -> bool

impl Copy for Static

impl Clone for Static

fn clone(&self) -> Static

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Static

fn fmt(&self, __arg_0: &mut Formatter) -> Result