pub enum LoginMode {
Claudeai,
Console,
}Expand description
Which billing path the CLI should authenticate against.
Maps to --claudeai (subscription) or --console (Anthropic
Console / API usage billing) on claude auth login.
Variants§
Claudeai
Claude subscription account (the CLI’s default if neither
flag is passed; passing this is explicit-form). Maps to
--claudeai.
Console
Anthropic Console account, billed via API usage. Maps to
--console. Required for teams on Console billing – the
default subscription path will sign them into the wrong
account.
Trait Implementations§
impl Copy for LoginMode
impl Eq for LoginMode
impl StructuralPartialEq for LoginMode
Auto Trait Implementations§
impl Freeze for LoginMode
impl RefUnwindSafe for LoginMode
impl Send for LoginMode
impl Sync for LoginMode
impl Unpin for LoginMode
impl UnsafeUnpin for LoginMode
impl UnwindSafe for LoginMode
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