Struct monitor_types::SystemStatsQuery
source · pub struct SystemStatsQuery {
pub cpus: bool,
pub disks: bool,
pub networks: bool,
pub components: bool,
pub processes: bool,
}
Fields§
§cpus: bool
§disks: bool
§networks: bool
§components: bool
§processes: bool
Implementations§
source§impl SystemStatsQuery
impl SystemStatsQuery
pub fn all() -> SystemStatsQuery
pub fn none() -> SystemStatsQuery
Trait Implementations§
source§impl Clone for SystemStatsQuery
impl Clone for SystemStatsQuery
source§fn clone(&self) -> SystemStatsQuery
fn clone(&self) -> SystemStatsQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SystemStatsQuery
impl Debug for SystemStatsQuery
source§impl Default for SystemStatsQuery
impl Default for SystemStatsQuery
source§fn default() -> SystemStatsQuery
fn default() -> SystemStatsQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SystemStatsQuery
impl<'de> Deserialize<'de> for SystemStatsQuery
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