Public declaration syntax from harness-tui-kit/src/components/history/system_cell.rs Original source SHA-256: 6cb0b2c10e3c432f143c6afae59587cd30c7d604fef03c3247d61a9c7b2177be Function bodies and constant values are omitted. This is not the complete implementation. Source line 18 #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum SystemSeverity { /// Informational notice (default). Info, /// Non-fatal warning. Warn, /// Error that did not crash the agent but the user should see. Error, /// Successful state change (operation completed, login granted). Success, } Source line 31 #[derive(Debug, Clone)] pub struct SystemCell { } Source line 40 #[must_use] pub fn new(severity: SystemSeverity, body: impl Into) -> Self; Source line 49 #[must_use] pub fn info(body: impl Into) -> Self; Source line 55 #[must_use] pub fn warn(body: impl Into) -> Self; Source line 61 #[must_use] pub fn error(body: impl Into) -> Self; Source line 67 #[must_use] pub fn success(body: impl Into) -> Self; Source line 73 #[must_use] pub fn severity(&self) -> SystemSeverity; Source line 79 #[must_use] pub fn body(&self) -> &str;