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: Stringkernel_version: Option<String>os_release: Option<String>stat: ProcStatModeltotal_cpu: SingleCpuModelcpus: Vec<SingleCpuModel>mem: MemoryModelvm: VmModeldisks: 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 SystemModelimpl Send for SystemModelimpl Sync for SystemModelimpl Unpin for SystemModelimpl UnwindSafe for SystemModelBlanket Implementations
Mutably borrows from an owned value. Read more