Struct inth_oauth2::token::Static
[−]
[src]
pub struct Static;
A static, non-expiring token.
Trait Implementations
impl Serialize for Static
[src]
fn serialize<S: Serializer>(&self, serializer: &mut S) -> Result<(), S::Error>
Serializes this value into this serializer.
impl Deserialize for Static
[src]
fn deserialize<D: Deserializer>(deserializer: &mut D) -> Result<Self, D::Error>
Deserialize this value given this Deserializer
.
impl Debug for Static
[src]
impl Clone for Static
[src]
fn clone(&self) -> Static
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 Static
[src]
impl PartialEq for Static
[src]
fn eq(&self, __arg_0: &Static) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Static
[src]
impl Encodable for Static
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for Static
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Static, __D::Error>
Deserialize a value using a Decoder
.
impl Lifetime for Static
[src]
impl FromResponse for Static
[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