Public declaration syntax from harness-tui-kit/src/components/harness/attribution_table.rs Original source SHA-256: 0d61477f240ba987763c7f2aee21685a315d79b869bf9df57abd239b898732ca Function bodies and constant values are omitted. This is not the complete implementation. Source line 20 #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum AttributionTaskOutcomeBadge { /// Task passed. Pass, /// Task failed. Fail, /// Task did not run. NotRun, } Source line 52 #[derive(Debug, Clone)] pub struct AttributionTableRow { /// Task name. pub task: String, /// Outcome before the iteration's edits. pub before: AttributionTaskOutcomeBadge, /// Outcome after the iteration's edits. pub after: AttributionTaskOutcomeBadge } Source line 64 #[must_use] pub fn is_fix(&self) -> bool; Source line 71 #[must_use] pub fn is_regression(&self) -> bool; Source line 79 #[derive(Debug, Clone)] pub struct AttributionTable<'a> { } Source line 89 #[must_use] pub fn new(rows: &'a [AttributionTableRow]) -> Self; Source line 100 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self; Source line 107 #[must_use] pub fn title(mut self, title: &'a str) -> Self; Source line 115 #[must_use] pub fn no_border(mut self) -> Self;