pub enum LoginAccountParams {
ApiKey {
api_key: String,
},
Chatgpt {
codex_streamlined_login: Option<bool>,
},
ChatgptDeviceCode,
ChatgptAuthTokens {
access_token: String,
chatgpt_account_id: String,
chatgpt_plan_type: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for LoginAccountParams
impl Clone for LoginAccountParams
Source§fn clone(&self) -> LoginAccountParams
fn clone(&self) -> LoginAccountParams
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 LoginAccountParams
impl Debug for LoginAccountParams
Source§impl<'de> Deserialize<'de> for LoginAccountParams
impl<'de> Deserialize<'de> for LoginAccountParams
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
Source§impl PartialEq for LoginAccountParams
impl PartialEq for LoginAccountParams
Source§fn eq(&self, other: &LoginAccountParams) -> bool
fn eq(&self, other: &LoginAccountParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoginAccountParams
impl Serialize for LoginAccountParams
impl StructuralPartialEq for LoginAccountParams
Auto Trait Implementations§
impl Freeze for LoginAccountParams
impl RefUnwindSafe for LoginAccountParams
impl Send for LoginAccountParams
impl Sync for LoginAccountParams
impl Unpin for LoginAccountParams
impl UnsafeUnpin for LoginAccountParams
impl UnwindSafe for LoginAccountParams
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