Public declaration syntax from harness-tui-kit/src/components/metrics/latency_display.rs Original source SHA-256: 2ba726117e98f17abd358f92e571c6d3014774be8e3bb5f3191977cc5571a2ba Function bodies and constant values are omitted. This is not the complete implementation. Source line 71 #[derive(Debug, Clone)] pub struct LatencyDisplay<'a> { } Source line 89 #[must_use] pub fn new(snapshot: &'a LatencySnapshot) -> Self; Source line 104 #[must_use] pub fn warn_threshold_ms(mut self, ms: u64) -> Self; Source line 113 #[must_use] pub fn error_threshold_ms(mut self, ms: u64) -> Self; Source line 120 #[must_use] pub fn unit(mut self, unit: &'a str) -> Self; Source line 127 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self;