Public declaration syntax from harness-tui-kit/src/components/system/goal_display.rs Original source SHA-256: 8dea79888504ecd7332070e7d5bbacecc447c2d98acf68c3993ba34575e99657 Function bodies and constant values are omitted. This is not the complete implementation. Source line 22 #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum GoalStepStatus { /// Not started yet. Pending, /// Currently executing. InProgress, /// Completed successfully. Done, /// Skipped by the user / planner. Skipped, /// Failed (with an error). Failed, } Source line 49 #[derive(Debug, Clone)] pub struct GoalStep { /// One-line description of the step. pub label: String, /// Current execution status. pub status: GoalStepStatus } Source line 59 #[must_use] pub fn new(label: impl Into, status: GoalStepStatus) -> Self; Source line 69 #[derive(Debug, Clone)] pub struct GoalDisplay<'a> { } Source line 80 #[must_use] pub fn new(goal: &'a str, steps: &'a [GoalStep]) -> Self; Source line 92 #[must_use] pub fn title(mut self, title: &'a str) -> Self; Source line 100 #[must_use] pub fn no_border(mut self) -> Self; Source line 107 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self;