added error handling for client version print

This commit is contained in:
2025-09-27 23:48:02 +02:00
parent dbe87fedb6
commit bf6f89c954
3 changed files with 125 additions and 89 deletions

View File

@@ -51,6 +51,18 @@ pub struct MetricDto {
pub net_tx: f64,
}
#[derive(Serialize, Debug)]
pub struct DiskInfoDetailed {
pub disk_name: String,
pub disk_kind: String,
pub disk_total_space: f64,
pub disk_available_space: f64,
pub disk_used_space: f64,
pub disk_mount_point: String,
pub component_disk_label: String,
pub component_disk_temperature: f32,
}
#[derive(Deserialize)]
pub struct IdResponse {
pub id: i32,