pub struct NodeStats {
pub running_instances: u32,
pub warm_instances: u32,
pub sleeping_instances: u32,
pub stopped_instances: u32,
pub total_vcpus_used: u32,
pub total_mem_used_mib: u64,
pub tenant_count: u32,
pub pool_count: u32,
}Expand description
Aggregate node statistics across all tenants.
Fields§
§running_instances: u32§warm_instances: u32§sleeping_instances: u32§stopped_instances: u32§total_vcpus_used: u32§total_mem_used_mib: u64§tenant_count: u32§pool_count: u32Trait 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 UnsafeUnpin 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