pub struct AccessTokenLifetime { /* private fields */ }Trait Implementations§
Source§impl Debug for AccessTokenLifetime
impl Debug for AccessTokenLifetime
Source§impl<'de> Deserialize<'de> for AccessTokenLifetime
impl<'de> Deserialize<'de> for AccessTokenLifetime
Source§fn deserialize<D: Deserializer<'de>>(
d: D,
) -> Result<AccessTokenLifetime, D::Error>
fn deserialize<D: Deserializer<'de>>( d: D, ) -> Result<AccessTokenLifetime, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromResponse for AccessTokenLifetime
impl FromResponse for AccessTokenLifetime
Source§fn from_response(json: &Json) -> Result<AccessTokenLifetime, ParseError>
fn from_response(json: &Json) -> Result<AccessTokenLifetime, ParseError>
Parse a JSON response.
Source§fn from_response_inherit(json: &Value, prev: &Self) -> Result<Self, ParseError>
fn from_response_inherit(json: &Value, prev: &Self) -> Result<Self, ParseError>
Parse a JSON response, inheriting missing values from the previous instance. Read more
Source§impl Lifetime for AccessTokenLifetime
impl Lifetime for AccessTokenLifetime
Source§impl PartialEq for AccessTokenLifetime
impl PartialEq for AccessTokenLifetime
Source§impl Serialize for AccessTokenLifetime
impl Serialize for AccessTokenLifetime
Source§impl Token<AccessTokenLifetime> for AccessToken
impl Token<AccessTokenLifetime> for AccessToken
impl Eq for AccessTokenLifetime
impl StructuralPartialEq for AccessTokenLifetime
Auto Trait Implementations§
impl Freeze for AccessTokenLifetime
impl RefUnwindSafe for AccessTokenLifetime
impl Send for AccessTokenLifetime
impl Sync for AccessTokenLifetime
impl Unpin for AccessTokenLifetime
impl UnwindSafe for AccessTokenLifetime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more