From 69781499cb070535bfc4e968d9ed3102ea722fb3 Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 16 Feb 2022 19:37:38 -0300 Subject: Introduce `QueryInformation` to `system::Action` --- native/src/system/information.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 native/src/system/information.rs (limited to 'native/src/system/information.rs') diff --git a/native/src/system/information.rs b/native/src/system/information.rs new file mode 100644 index 00000000..2100d110 --- /dev/null +++ b/native/src/system/information.rs @@ -0,0 +1,12 @@ +/// Contains informations about the system (e.g. system name, processor, memory, graphics adapter). +#[derive(Debug)] +pub struct Information { + system_name: String, + system_kernel: String, + system_version: String, + cpu_brand: String, + cpu_vendor: String, + cpu_name: String, + cpu_cores: String, + memory_total: String, +} -- cgit