Add system_information example

This commit is contained in:
Richard 2022-03-10 03:02:17 -03:00
parent c8ed318e17
commit 53538b65b1
5 changed files with 130 additions and 6 deletions

View file

@ -9,10 +9,6 @@ pub struct Information {
pub system_version: Option<String>,
/// Contains the processor brand.
pub cpu_brand: String,
/// Contains the processor vendor id.
pub cpu_vendor: String,
/// Contains the processor name.
pub cpu_name: String,
/// Contains the number of physical cores on the processor.
pub cpu_cores: Option<usize>,
/// Contains the total RAM size in KB.