pub struct AccountView {Show 13 fields
pub id: String,
pub account_id: String,
pub provider_id: String,
pub user_id: String,
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub id_token: Option<String>,
pub access_token_expires_at: Option<DateTime<Utc>>,
pub refresh_token_expires_at: Option<DateTime<Utc>>,
pub scope: Option<String>,
pub password: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Public account response shape.
Fields§
§id: String§account_id: String§provider_id: String§user_id: String§access_token: Option<String>§refresh_token: Option<String>§id_token: Option<String>§access_token_expires_at: Option<DateTime<Utc>>§refresh_token_expires_at: Option<DateTime<Utc>>§scope: Option<String>§password: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl AuthAccount for AccountView
impl AuthAccount for AccountView
fn id(&self) -> Cow<'_, str>
fn account_id(&self) -> &str
fn provider_id(&self) -> &str
fn user_id(&self) -> Cow<'_, str>
fn access_token(&self) -> Option<&str>
fn refresh_token(&self) -> Option<&str>
fn id_token(&self) -> Option<&str>
fn access_token_expires_at(&self) -> Option<DateTime<Utc>>
fn refresh_token_expires_at(&self) -> Option<DateTime<Utc>>
fn scope(&self) -> Option<&str>
fn password(&self) -> Option<&str>
fn created_at(&self) -> DateTime<Utc>
fn updated_at(&self) -> DateTime<Utc>
fn adapter_snapshot(&self) -> Option<&AdapterOutput>
fn additional_fields(&self) -> FieldOutput
Source§impl Clone for AccountView
impl Clone for AccountView
Source§impl Debug for AccountView
impl Debug for AccountView
Source§impl<'de> Deserialize<'de> for AccountView
impl<'de> Deserialize<'de> for AccountView
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 AccountView
Source§impl<T: AuthAccount> From<&T> for AccountView
impl<T: AuthAccount> From<&T> for AccountView
Source§impl PartialEq for AccountView
impl PartialEq for AccountView
Source§impl Serialize for AccountView
impl Serialize for AccountView
impl StructuralPartialEq for AccountView
Auto Trait Implementations§
impl Freeze for AccountView
impl RefUnwindSafe for AccountView
impl Send for AccountView
impl Sync for AccountView
impl Unpin for AccountView
impl UnsafeUnpin for AccountView
impl UnwindSafe for AccountView
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.