pub struct Account {Show 13 fields
pub id: String,
pub provider: Provider,
pub kind: String,
pub label: Option<String>,
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub id_token: Option<String>,
pub api_key: Option<String>,
pub expires_at_ms: Option<i64>,
pub last_refresh_ms: Option<i64>,
pub account_meta: Value,
pub cooldown_until_ms: Option<i64>,
pub status: String,
}Fields§
§id: String§provider: Provider§kind: String§label: Option<String>§access_token: Option<String>§refresh_token: Option<String>§id_token: Option<String>§api_key: Option<String>§expires_at_ms: Option<i64>§last_refresh_ms: Option<i64>§account_meta: Value§cooldown_until_ms: Option<i64>§status: StringImplementations§
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 UnsafeUnpin 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