pub struct GetAccountParams {
pub refresh_token: Option<bool>,
}Expand description
GetAccountParams
JSON schema
{
"title": "GetAccountParams",
"type": "object",
"properties": {
"refreshToken": {
"description": "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§refresh_token: Option<bool>When true, requests a proactive token refresh before returning.
In managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call account/login/start with chatgptAuthTokens.
Trait Implementations§
Source§impl Clone for GetAccountParams
impl Clone for GetAccountParams
Source§fn clone(&self) -> GetAccountParams
fn clone(&self) -> GetAccountParams
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 GetAccountParams
impl Debug for GetAccountParams
Source§impl Default for GetAccountParams
impl Default for GetAccountParams
Source§impl<'de> Deserialize<'de> for GetAccountParams
impl<'de> Deserialize<'de> for GetAccountParams
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 GetAccountParams
impl RefUnwindSafe for GetAccountParams
impl Send for GetAccountParams
impl Sync for GetAccountParams
impl Unpin for GetAccountParams
impl UnsafeUnpin for GetAccountParams
impl UnwindSafe for GetAccountParams
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