Public declaration syntax from harness-tui-kit/src/components/history/tool_cell.rs Original source SHA-256: a71d4fd94b8c1bf3f15764db11e229c05185afcdca2b4586c6d0d96b53e7ffa5 Function bodies and constant values are omitted. This is not the complete implementation. Source line 24 #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum ToolCellOutcome { /// Tool call still running — shows a "running…" suffix. Running, /// Tool returned successfully. Success, /// Tool failed. Failed, } Source line 35 #[derive(Debug, Clone)] pub struct ToolCell { } Source line 48 #[must_use] pub fn new(tool_name: impl Into, input: impl AsRef) -> Self; Source line 62 #[must_use] pub fn with_outcome( mut self, outcome: ToolCellOutcome, output: impl AsRef, duration_ms: Option, ) -> Self; Source line 76 pub fn set_expanded(&mut self, expanded: bool); Source line 82 #[must_use] pub fn is_expanded(&self) -> bool;