Add system_information example
This commit is contained in:
parent
c8ed318e17
commit
53538b65b1
5 changed files with 130 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue