pub struct Account {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
Account linking (for OAuth providers) - matches OpenAPI schema
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<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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