pub enum ClaudeLogin {
Subscription {
plan: Option<String>,
},
SignedOut,
Other {
method: String,
},
Unknown(String),
}Expand description
How Claude Code is signed in, as claude auth status says.
Variants§
Subscription
A claude.ai login, with its plan when Claude Code names it.
SignedOut
Other
Signed in another way (an Anthropic Console key, a cloud provider).
Unknown(String)
Could not be told; the text says why.
Trait Implementations§
Source§impl Clone for ClaudeLogin
impl Clone for ClaudeLogin
Source§impl Debug for ClaudeLogin
impl Debug for ClaudeLogin
impl Eq for ClaudeLogin
Source§impl PartialEq for ClaudeLogin
impl PartialEq for ClaudeLogin
impl StructuralPartialEq for ClaudeLogin
Auto Trait Implementations§
impl Forget for ClaudeLogin
impl Freeze for ClaudeLogin
impl Move for ClaudeLogin
impl RefUnwindSafe for ClaudeLogin
impl Send for ClaudeLogin
impl Sync for ClaudeLogin
impl Unpin for ClaudeLogin
impl UnsafeUnpin for ClaudeLogin
impl UnwindSafe for ClaudeLogin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.