omni/models.rs
1use tabled::Tabled;
2
3#[derive(Debug, Tabled)]
4pub struct ComponentStatus {
5 #[tabled(rename = "Component")]
6 pub name: String,
7 #[tabled(rename = "Status")]
8 pub status: String,
9 #[tabled(rename = "Replicas")]
10 pub replicas: String,
11 #[tabled(rename = "CPU")]
12 pub cpu: String,
13 #[tabled(rename = "Memory")]
14 pub memory: String,
15}