mirror of
https://github.com/csehviktor/status-monitor.git
synced 2025-08-08 18:06:14 +02:00
fix naming consistency
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user