Public declaration syntax from harness-tui-kit/src/components/chat/tool_call_card.rs Original source SHA-256: 692381ec3e76b378f4708426476f5a817a6ff925edb191412814346f2612329b Function bodies and constant values are omitted. This is not the complete implementation. Source line 32 #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] pub enum ToolCallCardStatus { /// Queued but not yet executing. #[default] Pending, /// Currently executing. Running, /// Finished successfully. Success, /// Finished with an error. Failure, } Source line 62 #[derive(Debug, Clone)] pub struct ToolCallCard<'a> { } Source line 79 #[must_use] pub fn new(name: &'a str) -> Self; Source line 94 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self; Source line 101 #[must_use] pub fn status(mut self, status: ToolCallCardStatus) -> Self; Source line 109 #[must_use] pub fn tick(mut self, tick: u8) -> Self; Source line 117 #[must_use] pub fn summary(mut self, summary: &'a str) -> Self; Source line 125 #[must_use] pub fn detail(mut self, detail: &'a str) -> Self; Source line 133 #[must_use] pub fn result(mut self, result: &'a str) -> Self; Source line 140 #[must_use] pub fn elapsed(mut self, label: &'a str) -> Self; Source line 148 #[must_use] pub fn measured_height(&self) -> u16;