pub struct NodeStats {
pub uid: u32,
pub cpu_user: Option<f64>,
pub cpu_system: Option<f64>,
pub cpu_idle: Option<f64>,
pub free_memory: Option<u64>,
pub network_bytes_in: Option<u64>,
pub network_bytes_out: Option<u64>,
pub persistent_storage_free: Option<u64>,
pub ephemeral_storage_free: Option<u64>,
pub extra: Value,
}
Expand description
Node stats
Fields§
§uid: u32
§cpu_user: Option<f64>
§cpu_system: Option<f64>
§cpu_idle: Option<f64>
§free_memory: Option<u64>
§network_bytes_in: Option<u64>
§network_bytes_out: Option<u64>
§persistent_storage_free: Option<u64>
§ephemeral_storage_free: Option<u64>
§extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeStats
impl<'de> Deserialize<'de> for NodeStats
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
Auto Trait Implementations§
impl Freeze for NodeStats
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnwindSafe for NodeStats
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