pub enum LoginAccountResponse {
ApiKey,
Chatgpt {
auth_url: String,
login_id: String,
},
ChatgptDeviceCode {
login_id: String,
user_code: String,
verification_url: String,
},
ChatgptAuthTokens,
}Variants§
Trait Implementations§
Source§impl Clone for LoginAccountResponse
impl Clone for LoginAccountResponse
Source§fn clone(&self) -> LoginAccountResponse
fn clone(&self) -> LoginAccountResponse
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 LoginAccountResponse
impl Debug for LoginAccountResponse
Source§impl<'de> Deserialize<'de> for LoginAccountResponse
impl<'de> Deserialize<'de> for LoginAccountResponse
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 LoginAccountResponse
impl RefUnwindSafe for LoginAccountResponse
impl Send for LoginAccountResponse
impl Sync for LoginAccountResponse
impl Unpin for LoginAccountResponse
impl UnsafeUnpin for LoginAccountResponse
impl UnwindSafe for LoginAccountResponse
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