fix naming consistency

This commit is contained in:
csehviktor
2025-07-03 06:26:25 +02:00
parent b527e7f0dd
commit d44ae76243
3 changed files with 18 additions and 18 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, Serialize, Deserialize, Default)]
pub struct CpuBreakdown {
pub struct CPUBreakdown {
pub system: f32,
pub user: f32,
pub idle: f32,