pub struct OAuthAccountInput {
pub provider_id: String,
pub account_id: String,
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub id_token: Option<String>,
pub access_token_expires_at: Option<OffsetDateTime>,
pub refresh_token_expires_at: Option<OffsetDateTime>,
pub scope: Option<String>,
}Fields§
§provider_id: String§account_id: String§access_token: Option<String>§refresh_token: Option<String>§id_token: Option<String>§access_token_expires_at: Option<OffsetDateTime>§refresh_token_expires_at: Option<OffsetDateTime>§scope: Option<String>Trait Implementations§
Source§impl Clone for OAuthAccountInput
impl Clone for OAuthAccountInput
Source§fn clone(&self) -> OAuthAccountInput
fn clone(&self) -> OAuthAccountInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OAuthAccountInput
impl Debug for OAuthAccountInput
Source§impl Default for OAuthAccountInput
impl Default for OAuthAccountInput
Source§fn default() -> OAuthAccountInput
fn default() -> OAuthAccountInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthAccountInput
impl<'de> Deserialize<'de> for OAuthAccountInput
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 OAuthAccountInput
Source§impl PartialEq for OAuthAccountInput
impl PartialEq for OAuthAccountInput
Source§fn eq(&self, other: &OAuthAccountInput) -> bool
fn eq(&self, other: &OAuthAccountInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OAuthAccountInput
impl Serialize for OAuthAccountInput
impl StructuralPartialEq for OAuthAccountInput
Auto Trait Implementations§
impl Freeze for OAuthAccountInput
impl RefUnwindSafe for OAuthAccountInput
impl Send for OAuthAccountInput
impl Sync for OAuthAccountInput
impl Unpin for OAuthAccountInput
impl UnsafeUnpin for OAuthAccountInput
impl UnwindSafe for OAuthAccountInput
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>,
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.