Struct cyfs_util::SystemInfo
source · [−]pub struct SystemInfo {
pub name: String,
pub cpu_usage: f32,
pub total_memory: u64,
pub used_memory: u64,
pub received_bytes: u64,
pub transmitted_bytes: u64,
pub ssd_disk_total: u64,
pub ssd_disk_avail: u64,
pub hdd_disk_total: u64,
pub hdd_disk_avail: u64,
}
Fields
name: String
cpu_usage: f32
total_memory: u64
used_memory: u64
received_bytes: u64
transmitted_bytes: u64
ssd_disk_total: u64
ssd_disk_avail: u64
hdd_disk_total: u64
hdd_disk_avail: u64
Trait Implementations
sourceimpl Clone for SystemInfo
impl Clone for SystemInfo
sourcefn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SystemInfo
impl Debug for SystemInfo
sourceimpl Default for SystemInfo
impl Default for SystemInfo
sourceimpl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
sourcefn 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
sourceimpl Serialize for SystemInfo
impl Serialize for SystemInfo
Auto Trait Implementations
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more