pub struct Expiring { /* private fields */ }
Expand description
An expiring token.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Expiring
impl<'de> Deserialize<'de> for Expiring
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromResponse for Expiring
impl FromResponse for Expiring
Source§fn from_response(json: &Value) -> Result<Self, ParseError>
fn from_response(json: &Value) -> Result<Self, 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
impl Copy for Expiring
impl Eq for Expiring
impl StructuralPartialEq for Expiring
Auto Trait Implementations§
impl Freeze for Expiring
impl RefUnwindSafe for Expiring
impl Send for Expiring
impl Sync for Expiring
impl Unpin for Expiring
impl UnwindSafe for Expiring
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.