pub struct AgentRosterRow {
pub sub_session_id: String,
pub role: String,
pub status: String,
pub model: String,
pub tokens_in: u64,
pub tokens_out: u64,
pub cache_read: u64,
pub tool_uses: u32,
pub elapsed_ms: u64,
pub last_tools: Vec<String>,
}Expand description
One sub-agent’s live row in the session agent rail (F1). Accumulated by the
daemon from the child session’s UsageUpdated/ToolCallStarted events.
Fields§
§sub_session_id: String§role: String§status: Stringrunning | done | failed | cancelled
model: StringModel this agent is running on. The rail showed role and tool counts but never which model executed the work, so a user could not see that Pro’s multi-model routing was doing anything — every agent looked identical to the free single-model case. Empty when the daemon has no route yet.
tokens_in: u64§tokens_out: u64§cache_read: u64§tool_uses: u32§elapsed_ms: u64§last_tools: Vec<String>most-recent first, max 3
Trait Implementations§
Source§impl Clone for AgentRosterRow
impl Clone for AgentRosterRow
Source§impl Debug for AgentRosterRow
impl Debug for AgentRosterRow
Source§impl<'de> Deserialize<'de> for AgentRosterRow
impl<'de> Deserialize<'de> for AgentRosterRow
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 AgentRosterRow
impl PartialEq for AgentRosterRow
Source§impl Serialize for AgentRosterRow
impl Serialize for AgentRosterRow
impl StructuralPartialEq for AgentRosterRow
Auto Trait Implementations§
impl Freeze for AgentRosterRow
impl RefUnwindSafe for AgentRosterRow
impl Send for AgentRosterRow
impl Sync for AgentRosterRow
impl Unpin for AgentRosterRow
impl UnsafeUnpin for AgentRosterRow
impl UnwindSafe for AgentRosterRow
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