pub struct Report {
pub now: i64,
pub rows: Vec<Row>,
pub signed_in: Result<Owner, String>,
pub slot: Slot,
}Fields§
§now: i64§rows: Vec<Row>§signed_in: Result<Owner, String>Who the default tool’s live login belongs to, as its service says: Claude Code’s config can be a day behind. Every tool’s answer is in the rows.
slot: SlotWhich credential slot this report speaks for.
CLAUDE_CONFIG_DIR selects a different keychain item, so “who is signed in” is a
fact about one slot and not about the machine. Accounts and their parked logins
belong to the machine; what is in use does not. This report used to name accounts
without ever saying which slot it was speaking for, so on a machine with a second
config directory it was silently answering about one of them.
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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