pub struct SubagentDisplayRow {
pub subagent_id: u64,
pub agent_name: String,
pub status: SubagentStatus,
pub cancel_requested: bool,
pub elapsed_secs: f64,
pub finished_elapsed: Option<Duration>,
pub step: String,
pub tools: u32,
}Expand description
Snapshot row produced by SubagentRegistry::display_rows().
Used by the TUI reconcile path as the registry’s liveness authority.
Serde: travels in SessionEventWire::SubagentRows (phase 3).
Fields§
§subagent_id: u64§agent_name: String§status: SubagentStatus§cancel_requested: bool§elapsed_secs: f64§finished_elapsed: Option<Duration>§step: StringThe worker’s latest progress line (SubagentState::step); empty until
its first update. Absent from older peers.
tools: u32Tool calls started so far. Absent from older peers.
Trait Implementations§
Source§impl Clone for SubagentDisplayRow
impl Clone for SubagentDisplayRow
Source§impl Debug for SubagentDisplayRow
impl Debug for SubagentDisplayRow
Source§impl<'de> Deserialize<'de> for SubagentDisplayRow
impl<'de> Deserialize<'de> for SubagentDisplayRow
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
Auto Trait Implementations§
impl Freeze for SubagentDisplayRow
impl RefUnwindSafe for SubagentDisplayRow
impl Send for SubagentDisplayRow
impl Sync for SubagentDisplayRow
impl Unpin for SubagentDisplayRow
impl UnsafeUnpin for SubagentDisplayRow
impl UnwindSafe for SubagentDisplayRow
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.