pub struct LinkView {Show 15 fields
pub account: Option<String>,
pub billing: Option<String>,
pub created_at: Option<String>,
pub host: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub last_seen: Option<String>,
pub machine: Option<String>,
pub os: Option<String>,
pub plan: Option<String>,
pub provider: Option<String>,
pub status: Option<String>,
pub updated_at: Option<String>,
pub usage: Option<Option<Value>>,
pub user: Option<String>,
}Fields§
§account: Option<String>Account is the provider-side account identifier, when the collector knows it.
billing: Option<String>Billing is how this account’s inference bills — plan (the user’s own subscription, metered here for visibility only) or commerce (the gateway path). Derived from Kind, never stored.
created_at: Option<String>CreatedAt is when the link was first registered, RFC 3339 UTC.
host: Option<String>Host is the machine’s human hostname label, from its most recent report.
id: Option<String>ID is the link’s opaque handle ("link_" + 32 hex chars).
kind: Option<String>Kind is how the account authenticates: subscription or apikey.
last_seen: Option<String>LastSeen is when the account last reported, RFC 3339 UTC.
machine: Option<String>Machine is the stable machine identifier the collector reports.
os: Option<String>OS is the machine’s operating system label.
plan: Option<String>Plan is the provider plan label (e.g. "Claude Max").
provider: Option<String>Provider is the AI provider this account belongs to (claude, openai, hanzo…).
status: Option<String>Status is linked or revoked. Revoked rows are retained for history.
updated_at: Option<String>UpdatedAt is when the link was last refreshed, RFC 3339 UTC.
usage: Option<Option<Value>>§user: Option<String>User is the owning subject — the validated caller who registered the link.