pub struct SysInfoRecord {
Show 13 fields pub boot_time_sec: i64, pub cpu_num: u32, pub cpu_speed: u64, pub mem_total: u64, pub disk_total: u64, pub disk_free: u64, pub hostname: String, pub os_name: String, pub load_avg_one: f64, pub proc_total: u64, pub node_ip: String, pub timestamp: u64, pub group_name: String,
}
Expand description

系统信息结构体

Fields

boot_time_sec: i64cpu_num: u32cpu_speed: u64mem_total: u64disk_total: u64disk_free: u64hostname: Stringos_name: Stringload_avg_one: f64proc_total: u64node_ip: Stringtimestamp: u64group_name: String

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.