pub struct MonitordStats {
pub networkd: NetworkdState,
pub pid1: Option<Pid1Stats>,
pub system_state: SystemdSystemState,
pub units: SystemdUnitStats,
pub version: SystemdVersion,
pub machines: HashMap<String, MachineStats>,
}
Expand description
Main monitord stats struct collection all enabled stats
Fields§
§networkd: NetworkdState
§pid1: Option<Pid1Stats>
§system_state: SystemdSystemState
§units: SystemdUnitStats
§version: SystemdVersion
§machines: HashMap<String, MachineStats>
Trait Implementations§
Source§impl Debug for MonitordStats
impl Debug for MonitordStats
Source§impl Default for MonitordStats
impl Default for MonitordStats
Source§fn default() -> MonitordStats
fn default() -> MonitordStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonitordStats
impl<'de> Deserialize<'de> for MonitordStats
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
Source§impl PartialEq for MonitordStats
impl PartialEq for MonitordStats
Source§impl Serialize for MonitordStats
impl Serialize for MonitordStats
impl Eq for MonitordStats
impl StructuralPartialEq for MonitordStats
Auto Trait Implementations§
impl Freeze for MonitordStats
impl RefUnwindSafe for MonitordStats
impl Send for MonitordStats
impl Sync for MonitordStats
impl Unpin for MonitordStats
impl UnwindSafe for MonitordStats
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.