pub struct ContainerStats {
pub running: u32,
pub stopped: u32,
pub total: u32,
}Expand description
容器统计信息
Fields§
§running: u32运行中的容器数
stopped: u32已停止的容器数
total: u32总容器数
Trait Implementations§
Source§impl Clone for ContainerStats
impl Clone for ContainerStats
Source§fn clone(&self) -> ContainerStats
fn clone(&self) -> ContainerStats
Returns a duplicate 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 ContainerStats
impl Debug for ContainerStats
Source§impl<'de> Deserialize<'de> for ContainerStats
impl<'de> Deserialize<'de> for ContainerStats
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 ContainerStats
impl RefUnwindSafe for ContainerStats
impl Send for ContainerStats
impl Sync for ContainerStats
impl Unpin for ContainerStats
impl UnsafeUnpin for ContainerStats
impl UnwindSafe for ContainerStats
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