rename + correct data

This commit is contained in:
csehviktor
2025-07-15 04:28:59 +02:00
parent 20f4c1f521
commit 86d807a19c
3 changed files with 25 additions and 22 deletions

View File

@@ -22,11 +22,11 @@ pub struct SystemInfo {
pub struct CPU {
pub usage: f32,
pub threads: usize,
pub breakdown: CPUBreakdown,
pub breakdown: CpuBreakdown,
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct CPUBreakdown {
pub struct CpuBreakdown {
pub system: f32,
pub user: f32,
pub idle: f32,