srs-client 0.2.1

Provides bindings for the main functionalities of the SRS
Documentation
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct SelfProcStats {
    pub ok: bool,
    pub sample_time: i64,
    pub percent: f64,
    pub pid: i64,
    pub comm: String,
    pub state: String,
    pub ppid: i64,
    pub pgrp: i64,
    pub session: i64,
    pub tty_nr: i64,
    pub tpgid: i64,
    pub flags: i64,
    pub minflt: i64,
    pub cminflt: i64,
    pub majflt: i64,
    pub cmajflt: i64,
    pub utime: i64,
    pub stime: i64,
    pub cutime: i64,
    pub cstime: i64,
    pub priority: i64,
    pub nice: i64,
    pub num_threads: i64,
    pub itrealvalue: i64,
    pub starttime: i64,
    pub vsize: i64,
    pub rss: i64,
    pub rsslim: i64,
    pub startcode: i64,
    pub endcode: i64,
    pub startstack: i64,
    pub kstkesp: i64,
    pub kstkeip: i64,
    pub signal: i64,
    pub blocked: i64,
    pub sigignore: i64,
    pub sigcatch: i64,
    pub wchan: i64,
    pub nswap: i64,
    pub cnswap: i64,
    pub exit_signal: i64,
    pub processor: i64,
    pub rt_priority: i64,
    pub policy: i64,
    pub delayacct_blkio_ticks: i64,
    pub guest_time: i64,
    pub cguest_time: i64,
}