srs-client 0.2.1

Provides bindings for the main functionalities of the SRS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct SystemProcStats {
    pub ok: bool,
    pub sample_time: i64,
    pub percent: f64,
    pub user: i64,
    pub nice: i64,
    pub sys: i64,
    pub idle: i64,
    pub iowait: i64,
    pub irq: i64,
    pub softirq: i64,
    pub steal: i64,
    pub guest: i64,
}