pub struct Account {Show 17 fields
pub id: String,
pub provider: Provider,
pub kind: String,
pub name: String,
pub description: Option<String>,
pub paused: bool,
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,
pub path: Option<PathBuf>,
}Fields§
§id: String§provider: Provider§kind: String§name: String§description: Option<String>§paused: bool§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: String§path: Option<PathBuf>Implementations§
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