pub struct TraktAuthorization {
pub authorization_url: String,
pub expires_at: DateTime<Utc>,
}Expand description
URL and expiry for a pending Trakt consent flow.
Fields§
§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TraktAuthorization
impl Clone for TraktAuthorization
Source§impl Debug for TraktAuthorization
impl Debug for TraktAuthorization
Source§impl<'de> Deserialize<'de> for TraktAuthorization
impl<'de> Deserialize<'de> for TraktAuthorization
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
impl Eq for TraktAuthorization
Source§impl PartialEq for TraktAuthorization
impl PartialEq for TraktAuthorization
Source§impl Serialize for TraktAuthorization
impl Serialize for TraktAuthorization
impl StructuralPartialEq for TraktAuthorization
Auto Trait Implementations§
impl Freeze for TraktAuthorization
impl RefUnwindSafe for TraktAuthorization
impl Send for TraktAuthorization
impl Sync for TraktAuthorization
impl Unpin for TraktAuthorization
impl UnsafeUnpin for TraktAuthorization
impl UnwindSafe for TraktAuthorization
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.