pub struct System {Show 15 fields
pub cpu: String,
pub cpu_id: String,
pub cpus: StringInt,
pub memory: String,
pub free_memory: String,
pub threads: String,
pub os_version: String,
pub has_battery: String,
pub on_battery: String,
pub utc_offset: String,
pub pid: String,
pub cwd: String,
pub os: String,
pub os_arch: String,
pub gpus: StringInt,
}
Fields§
§cpu: String
§cpu_id: String
§cpus: StringInt
§memory: String
§free_memory: String
§threads: String
§os_version: String
§has_battery: String
§on_battery: String
§utc_offset: String
§pid: String
§cwd: String
§os: String
§os_arch: String
§gpus: StringInt
Trait Implementations§
Source§impl<'de> Deserialize<'de> for System
impl<'de> Deserialize<'de> for System
Source§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
impl Eq for System
impl StructuralPartialEq for System
Auto Trait Implementations§
impl Freeze for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more