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
Source§impl PartialEq for LoginAccountResponse
impl PartialEq for LoginAccountResponse
Source§fn eq(&self, other: &LoginAccountResponse) -> bool
fn eq(&self, other: &LoginAccountResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoginAccountResponse
impl Serialize for LoginAccountResponse
impl StructuralPartialEq for LoginAccountResponse
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