Struct below_model::system::SystemModel [−][src]
pub struct SystemModel { pub hostname: String, pub kernel_version: Option<String>, pub os_release: Option<String>, pub stat: ProcStatModel, pub total_cpu: SingleCpuModel, pub cpus: Vec<SingleCpuModel>, pub mem: MemoryModel, pub vm: VmModel, pub disks: BTreeMap<String, SingleDiskModel>, }
Fields
hostname: String
kernel_version: Option<String>
os_release: Option<String>
stat: ProcStatModel
total_cpu: SingleCpuModel
cpus: Vec<SingleCpuModel>
mem: MemoryModel
vm: VmModel
disks: BTreeMap<String, SingleDiskModel>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SystemModel
impl Send for SystemModel
impl Sync for SystemModel
impl Unpin for SystemModel
impl UnwindSafe for SystemModel
Blanket Implementations
Mutably borrows from an owned value. Read more